Index: tools/extract2g/Makefile |
— | — | @@ -1,12 +1,12 @@ |
2 | 2 | CC= gcc |
3 | 3 | OPTS= -Wall -g |
4 | 4 | |
5 | | -ifeq ($(shell uname),WindowsNT)
|
6 | | -CCACHE :=
|
7 | | -else
|
8 | | -CCACHE := $(shell which ccache)
|
9 | | -endif
|
10 | | -
|
| 5 | +ifeq ($(shell uname),WindowsNT) |
| 6 | +CCACHE := |
| 7 | +else |
| 8 | +CCACHE := $(shell which ccache) |
| 9 | +endif |
| 10 | + |
11 | 11 | all: extract2g |
12 | 12 | |
13 | 13 | extract2g: extract2g.c extract2g.h |
Index: umsboot/Makefile |
— | — | @@ -86,17 +86,16 @@ |
87 | 87 |
|
88 | 88 | $(foreach target,$(TARGETS),$(eval $(call TARGET_template,$(target))))
|
89 | 89 |
|
90 | | -build/version.h: version.h .svn/entries build
|
| 90 | +build/version.h: version.h .svn/entries
|
91 | 91 | @echo [PP] $<
|
92 | 92 | ifeq ($(shell uname),WindowsNT)
|
| 93 | + @-if not exist build md build
|
93 | 94 | @sed -e "s/\$$REVISION\$$/$(REVISION)/" -e "s/\$$REVISIONINT\$$/$(REVISIONINT)/" < $< > $@
|
94 | 95 | else
|
| 96 | + @-mkdir -p build
|
95 | 97 | @sed -e 's/\$$REVISION\$$/$(REVISION)/' -e 's/\$$REVISIONINT\$$/$(REVISIONINT)/' < $< > $@
|
96 | 98 | endif
|
97 | 99 |
|
98 | | -build:
|
99 | | - @mkdir $@
|
100 | | -
|
101 | 100 | clean:
|
102 | 101 | @rm -rf build
|
103 | 102 |
|
Index: libs/boot/Makefile |
— | — | @@ -101,17 +101,16 @@ |
102 | 102 | endif
|
103 | 103 | @$(CC) -c $(CFLAGS) -o $@ $<
|
104 | 104 |
|
105 | | -build/version.h: version.h .svn/entries build
|
| 105 | +build/version.h: version.h .svn/entries
|
106 | 106 | @echo [PP] $<
|
107 | 107 | ifeq ($(shell uname),WindowsNT)
|
| 108 | + @-if not exist build md build
|
108 | 109 | @sed -e "s/\$$REVISION\$$/$(REVISION)/" -e "s/\$$REVISIONINT\$$/$(REVISIONINT)/" < $< > $@
|
109 | 110 | else
|
| 111 | + @-mkdir -p build
|
110 | 112 | @sed -e 's/\$$REVISION\$$/$(REVISION)/' -e 's/\$$REVISIONINT\$$/$(REVISIONINT)/' < $< > $@
|
111 | 113 | endif
|
112 | 114 |
|
113 | | -build:
|
114 | | - @mkdir $@
|
115 | | -
|
116 | 115 | clean:
|
117 | 116 | rm -rf build
|
118 | 117 |
|
Index: libs/png/Makefile |
— | — | @@ -101,17 +101,16 @@ |
102 | 102 | endif
|
103 | 103 | @$(CC) -c $(CFLAGS) -o $@ $<
|
104 | 104 |
|
105 | | -build/version.h: version.h .svn/entries build
|
| 105 | +build/version.h: version.h .svn/entries
|
106 | 106 | @echo [PP] $<
|
107 | 107 | ifeq ($(shell uname),WindowsNT)
|
| 108 | + @-if not exist build md build
|
108 | 109 | @sed -e "s/\$$REVISION\$$/$(REVISION)/" -e "s/\$$REVISIONINT\$$/$(REVISIONINT)/" < $< > $@
|
109 | 110 | else
|
| 111 | + @-mkdir -p build
|
110 | 112 | @sed -e 's/\$$REVISION\$$/$(REVISION)/' -e 's/\$$REVISIONINT\$$/$(REVISIONINT)/' < $< > $@
|
111 | 113 | endif
|
112 | 114 |
|
113 | | -build:
|
114 | | - @mkdir $@
|
115 | | -
|
116 | 115 | clean:
|
117 | 116 | rm -rf build
|
118 | 117 |
|
Index: libs/mkfat32/Makefile |
— | — | @@ -101,17 +101,16 @@ |
102 | 102 | endif
|
103 | 103 | @$(CC) -c $(CFLAGS) -o $@ $<
|
104 | 104 |
|
105 | | -build/version.h: version.h .svn/entries build
|
| 105 | +build/version.h: version.h .svn/entries
|
106 | 106 | @echo [PP] $<
|
107 | 107 | ifeq ($(shell uname),WindowsNT)
|
| 108 | + @-if not exist build md build
|
108 | 109 | @sed -e "s/\$$REVISION\$$/$(REVISION)/" -e "s/\$$REVISIONINT\$$/$(REVISIONINT)/" < $< > $@
|
109 | 110 | else
|
| 111 | + @-mkdir -p build
|
110 | 112 | @sed -e 's/\$$REVISION\$$/$(REVISION)/' -e 's/\$$REVISIONINT\$$/$(REVISIONINT)/' < $< > $@
|
111 | 113 | endif
|
112 | 114 |
|
113 | | -build:
|
114 | | - @mkdir $@
|
115 | | -
|
116 | 115 | clean:
|
117 | 116 | rm -rf build
|
118 | 117 |
|
Index: libs/ui/Makefile |
— | — | @@ -101,17 +101,16 @@ |
102 | 102 | endif
|
103 | 103 | @$(CC) -c $(CFLAGS) -o $@ $<
|
104 | 104 |
|
105 | | -build/version.h: version.h .svn/entries build
|
| 105 | +build/version.h: version.h .svn/entries
|
106 | 106 | @echo [PP] $<
|
107 | 107 | ifeq ($(shell uname),WindowsNT)
|
| 108 | + @-if not exist build md build
|
108 | 109 | @sed -e "s/\$$REVISION\$$/$(REVISION)/" -e "s/\$$REVISIONINT\$$/$(REVISIONINT)/" < $< > $@
|
109 | 110 | else
|
| 111 | + @-mkdir -p build
|
110 | 112 | @sed -e 's/\$$REVISION\$$/$(REVISION)/' -e 's/\$$REVISIONINT\$$/$(REVISIONINT)/' < $< > $@
|
111 | 113 | endif
|
112 | 114 |
|
113 | | -build:
|
114 | | - @mkdir $@
|
115 | | -
|
116 | 115 | clean:
|
117 | 116 | rm -rf build
|
118 | 117 |
|
Index: emcore/trunk/Makefile |
— | — | @@ -86,17 +86,16 @@ |
87 | 87 |
|
88 | 88 | $(foreach target,$(TARGETS),$(eval $(call TARGET_template,$(target))))
|
89 | 89 |
|
90 | | -build/version.h: version.h .svn/entries build
|
| 90 | +build/version.h: version.h .svn/entries
|
91 | 91 | @echo [PP] $<
|
92 | 92 | ifeq ($(shell uname),WindowsNT)
|
| 93 | + @-if not exist build md build
|
93 | 94 | @sed -e "s/\$$REVISION\$$/$(REVISION)/" -e "s/\$$REVISIONINT\$$/$(REVISIONINT)/" < $< > $@
|
94 | 95 | else
|
| 96 | + @-mkdir -p build
|
95 | 97 | @sed -e 's/\$$REVISION\$$/$(REVISION)/' -e 's/\$$REVISIONINT\$$/$(REVISIONINT)/' < $< > $@
|
96 | 98 | endif
|
97 | 99 |
|
98 | | -build:
|
99 | | - @mkdir $@
|
100 | | -
|
101 | 100 | clean:
|
102 | 101 | @rm -rf build
|
103 | 102 |
|