diff -r f7ce0db6f72b -r e4116b4b5774 Makefile --- a/Makefile Sat Apr 19 12:18:43 2025 +0200 +++ b/Makefile Sat Apr 19 12:54:49 2025 +0200 @@ -23,17 +23,16 @@ # POSSIBILITY OF SUCH DAMAGE. # -all: build/test/sandbox +all: config.mk build/lib/libascension.a -build/test/sandbox: build/test build/lib/libascension.a config.mk FORCE - @cd test && $(MAKE) +test-snake: build/test/snake FORCE + +build/test/snake: all + @cd test/snake && $(MAKE) build/lib/libascension.a: build/lib config.mk FORCE @cd src && $(MAKE) -build/test: - mkdir -p build/test - build/lib: mkdir -p build/lib @@ -49,7 +48,7 @@ update-rules: make/update-rules.sh src - CFLAGS=-I../src make/update-rules.sh test + CFLAGS=-I`pwd`/src make/update-rules.sh test/snake FORCE: