Wed, 06 Mar 2024 23:13:06 +0100
fix name of demo binary
test/Makefile | file | annotate | diff | comparison | revisions |
--- a/test/Makefile Wed Mar 06 23:12:56 2024 +0100 +++ b/test/Makefile Wed Mar 06 23:13:06 2024 +0100 @@ -29,11 +29,11 @@ LIB_ASCENSION=../build/lib/libascension.a CFLAGS += -I../src -all: $(BUILD_DIR)/sandbox FORCE - @echo "Sandbox demo successfully built." +all: $(BUILD_DIR)/snake FORCE + @echo "Demo game successfully built." -$(BUILD_DIR)/sandbox: $(BUILD_DIR)/sandbox.o $(LIB_ASCENSION) - @echo "Linking executable..." +$(BUILD_DIR)/snake: $(BUILD_DIR)/snake.o $(LIB_ASCENSION) + @echo "Linking snake..." $(CC) $(LDFLAGS) -o $@ $^ $(LIB_ASCENSION): @@ -41,7 +41,7 @@ FORCE: -$(BUILD_DIR)/sandbox.o: snake.c ../src/ascension/ascension.h \ +$(BUILD_DIR)/snake.o: snake.c ../src/ascension/ascension.h \ ../src/ascension/error.h ../src/ascension/context.h \ ../src/ascension/datatypes.h ../src/ascension/window.h \ ../src/ascension/primitives.h ../src/ascension/mesh.h \