Makefile

changeset 86
943bf9d7c6d6
parent 84
e4116b4b5774
--- a/Makefile	Sat Apr 19 13:00:32 2025 +0200
+++ b/Makefile	Sat Apr 19 15:06:24 2025 +0200
@@ -23,11 +23,12 @@
 # POSSIBILITY OF SUCH DAMAGE.
 #
 
-all: config.mk build/lib/libascension.a
+all: build/lib/libascension.a \
+	test-snake
 
 test-snake: build/test/snake FORCE
 
-build/test/snake: all
+build/test/snake: build/lib/libascension.a FORCE
 	@cd test/snake && $(MAKE)
 
 build/lib/libascension.a: build/lib config.mk FORCE
@@ -48,7 +49,7 @@
 
 update-rules:
 	make/update-rules.sh src
-	CFLAGS=-I`pwd`/src make/update-rules.sh test/snake
+	CFLAGS=-I../../src make/update-rules.sh test/snake
 
 FORCE:
 

mercurial