tisp

tiny lisp
git clone git://edryd.org/tisp
Log | Files | Refs | LICENSE

commit e51a8eeafb2bd4b30a7277649f14c5d5c9e186e6
parent a713cee597378d2a201c9c7a9d705bf5cbb312a7
Author: Ed van Bruggen <edvb@uw.edu>
Date:   Sun,  5 Jan 2020 23:45:52 -0800

Only recompile main and test when tsp code changes

Also recompile test if config.mk gets updated like all other C files

Diffstat:
Makefile | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -36,9 +36,11 @@ libs.tsp.h: $(TSP) @echo $(CC) $< @$(CC) -c -o $@ $< $(CFLAGS) -$(OBJ): config.mk libs.tsp.h +$(OBJ): config.mk -test.o: libs.tsp.h +main.o: libs.tsp.h + +test.o: config.mk libs.tsp.h $(LIB): $(TIB) @echo $(CC) -o $@