freemyipod r564 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r563‎ | r564 | r565 >
Date:22:04, 7 February 2011
Author:theseven
Status:new
Tags:
Comment:
UARTtest: Update makefile
Modified paths:
  • /apps/uarttest/Makefile (modified) (history)

Diff [purge]

Index: apps/uarttest/Makefile
@@ -104,18 +104,17 @@
105105 endif
106106 @$(CC) -c $(CFLAGS) -o $@ $<
107107
108 -build/version.h: version.h .svn/entries build
 108+build/version.h: version.h .svn/entries
109109 @echo [PP] $<
110110 ifeq ($(shell uname),WindowsNT)
 111+ @-if not exist build md build
111112 @sed -e "s/\$$REVISION\$$/$(REVISION)/" -e "s/\$$REVISIONINT\$$/$(REVISIONINT)/" < $< > $@
112113 else
 114+ @-mkdir -p build
113115 @sed -e 's/\$$REVISION\$$/$(REVISION)/' -e 's/\$$REVISIONINT\$$/$(REVISIONINT)/' < $< > $@
114116 endif
115117
116 -build:
117 - @mkdir $@
118 -
119118 clean:
120 - rm -rf build
 119+ @rm -rf build
121120
122121 .PHONY: all clean $(NAME)