test/Makefile

changeset 6
302971e8599b
parent 0
593b60458157
child 7
9dd76cbd6c90
--- a/test/Makefile	Mon Oct 30 18:54:16 2023 +0100
+++ b/test/Makefile	Wed Nov 01 20:09:49 2023 +0100
@@ -33,11 +33,13 @@
 	@echo "Sandbox demo successfully built."
 
 $(BUILD_DIR)/sandbox: $(BUILD_DIR)/sandbox.o $(LIB_ASCENSION)
-	echo "Linking executable..."
+	@echo "Linking executable..."
 	$(CC) $(LDFLAGS) -o $@ $^
 
-$(BUILD_DIR)/sandbox.o: sandbox.c ../src/ascension/core.h
-	echo "Compiling $<"
+FORCE:
+
+$(BUILD_DIR)/sandbox.o: sandbox.c ../src/ascension/window.h \
+ ../src/ascension/core.h ../src/ascension/datatypes.h
+	@echo "Compiling $<"
 	$(CC) -o $@ $(CFLAGS) -c $<
 
-FORCE:

mercurial