Commit ebd6ec57aaf2db4c547d08713d4d94adc32ccdb6
authorLaurent Navet [Mali] <laurent.navet@gmail.com>
Sun, 4 Nov 2012 16:13:28 +0000 (16:13 +0000)
committerLaurent Navet [Mali] <laurent.navet@gmail.com>
Sun, 4 Nov 2012 16:13:28 +0000 (16:13 +0000)
in order to leave the src tree as clean as before a build
+ add rm -f of autogenerated sim_core_config.h & sim_core_decl.h
  in simavr/Makefile
+ add rm *.hex in example/board_*/Makefile

4 files changed:
examples/board_ledramp/Makefile
examples/board_simduino/Makefile
examples/board_timer_64led/Makefile
simavr/Makefile

index 92dfc081e1101fec1787d89cc08189cf9c596766..d3e00d41d65a6103916422bae5b06e80496257e8 100644 (file)
@@ -46,4 +46,4 @@ ${target}: ${board}
        @echo $@ done
 
 clean: clean-${OBJ}
-       rm -rf *.a *.axf ${target} *.vcd
+       rm -rf *.a *.axf ${target} *.vcd *.hex
index cf72f3324c5fb5e2e671acd084cab0be1c0af4c5..2332dcbfe28e194a3750a5f216d08ffbfc6f272b 100644 (file)
@@ -47,4 +47,4 @@ ${target}: ${board}
        @echo $@ done
 
 clean: clean-${OBJ}
-       rm -rf *.a *.axf ${target} *.vcd
+       rm -rf *.a *.axf ${target} *.vcd *.hex
index 231ae9208edb62e1bf4a72638b0f4f9c4219002d..61705ca75ae86e1ec6851d4002779a66df451cc3 100644 (file)
@@ -47,4 +47,4 @@ ${target}: ${board}
        @echo $@ done
 
 clean: clean-${OBJ}
-       rm -rf *.a *.axf ${target} *.vcd
+       rm -rf *.a *.axf ${target} *.vcd *.hex
index 000e1468598a3d9d7c1b700581f1954e430ea337..d8058207057509525ffdf8dd9f5d4f523850320d 100644 (file)
@@ -83,6 +83,7 @@ ${target}     : ${OBJ}/${target}.elf
  
 clean: clean-${OBJ}
        rm -rf ${target} *.a *.so
+       rm -f sim_core_*.h
 
 DESTDIR = /usr/local
 PREFIX = ${DESTDIR}