Subversion Repositories freemyipod

Rev

Rev 659 | Rev 666 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 659 Rev 665
Line 84... Line 84...
84
 
84
 
85
all: $(TARGETS)
85
all: $(TARGETS)
86
 
86
 
87
$(foreach target,$(TARGETS),$(eval $(call TARGET_template,$(target))))
87
$(foreach target,$(TARGETS),$(eval $(call TARGET_template,$(target))))
88
 
88
 
89
build/version.h: version.h .svn/entries build
89
build/version.h: version.h .svn/entries
90
	@echo [PP]     $<
90
	@echo [PP]     $<
91
ifeq ($(shell uname),WindowsNT)
91
ifeq ($(shell uname),WindowsNT)
-
 
92
	@-if not exist build md build
92
	@sed -e "s/\$$REVISION\$$/$(REVISION)/" -e "s/\$$REVISIONINT\$$/$(REVISIONINT)/" < $< > $@
93
	@sed -e "s/\$$REVISION\$$/$(REVISION)/" -e "s/\$$REVISIONINT\$$/$(REVISIONINT)/" < $< > $@
93
else
94
else
-
 
95
	@-mkdir -p build
94
	@sed -e 's/\$$REVISION\$$/$(REVISION)/' -e 's/\$$REVISIONINT\$$/$(REVISIONINT)/' < $< > $@
96
	@sed -e 's/\$$REVISION\$$/$(REVISION)/' -e 's/\$$REVISIONINT\$$/$(REVISIONINT)/' < $< > $@
95
endif
97
endif
96
 
98
 
97
build:
-
 
98
	@mkdir $@
-
 
99
 
-
 
100
clean:
99
clean:
101
	@rm -rf build
100
	@rm -rf build
102
 
101
 
103
.PHONY: all clean $(TARGETS)
102
.PHONY: all clean $(TARGETS)