Skip to content

Commit

Permalink
Makefile : fix cleaning rules
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mali committed Nov 4, 2012
1 parent 8ded5cf commit ebd6ec5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/board_ledramp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ ${target}: ${board}
@echo $@ done

clean: clean-${OBJ}
rm -rf *.a *.axf ${target} *.vcd
rm -rf *.a *.axf ${target} *.vcd *.hex
2 changes: 1 addition & 1 deletion examples/board_simduino/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ ${target}: ${board}
@echo $@ done

clean: clean-${OBJ}
rm -rf *.a *.axf ${target} *.vcd
rm -rf *.a *.axf ${target} *.vcd *.hex
2 changes: 1 addition & 1 deletion examples/board_timer_64led/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ ${target}: ${board}
@echo $@ done

clean: clean-${OBJ}
rm -rf *.a *.axf ${target} *.vcd
rm -rf *.a *.axf ${target} *.vcd *.hex
1 change: 1 addition & 0 deletions simavr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit ebd6ec5

Please sign in to comment.