test/Makefile

changeset 6
302971e8599b
parent 0
593b60458157
child 7
9dd76cbd6c90
     1.1 --- a/test/Makefile	Mon Oct 30 18:54:16 2023 +0100
     1.2 +++ b/test/Makefile	Wed Nov 01 20:09:49 2023 +0100
     1.3 @@ -33,11 +33,13 @@
     1.4  	@echo "Sandbox demo successfully built."
     1.5  
     1.6  $(BUILD_DIR)/sandbox: $(BUILD_DIR)/sandbox.o $(LIB_ASCENSION)
     1.7 -	echo "Linking executable..."
     1.8 +	@echo "Linking executable..."
     1.9  	$(CC) $(LDFLAGS) -o $@ $^
    1.10  
    1.11 -$(BUILD_DIR)/sandbox.o: sandbox.c ../src/ascension/core.h
    1.12 -	echo "Compiling $<"
    1.13 +FORCE:
    1.14 +
    1.15 +$(BUILD_DIR)/sandbox.o: sandbox.c ../src/ascension/window.h \
    1.16 + ../src/ascension/core.h ../src/ascension/datatypes.h
    1.17 +	@echo "Compiling $<"
    1.18  	$(CC) -o $@ $(CFLAGS) -c $<
    1.19  
    1.20 -FORCE:

mercurial