# HG changeset patch # User Charlie Shepherd # Date 1196009669 0 # Node ID 93899f7c3e0cb797ec24fc1f4181ff77b2869be1 # Parent ed26d3529575221b8b3e892a99f8e4cb26ff1de2 Rebuild toybox when a header file changes diff -r ed26d3529575 -r 93899f7c3e0c Makefile --- a/Makefile Tue Nov 27 01:41:32 2007 -0600 +++ b/Makefile Sun Nov 25 16:54:29 2007 +0000 @@ -46,7 +46,7 @@ toyfiles = main.c lib/*.c \ $(shell scripts/cfg2files.sh < .config | sed 's@\(.*\)@toys/\1.c@') -toybox_unstripped: gen_config.h $(toyfiles) toys/toylist.h toys/help.h lib/*.h toys.h +toybox_unstripped: gen_config.h $(toyfiles) toys/toylist.h toys/help.h toys/*.h lib/*.h toys.h $(CC) $(CCFLAGS) -I . $(toyfiles) -o toybox_unstripped $(OPTIMIZE) toybox: toybox_unstripped