test/Makefile

changeset 6
302971e8599b
parent 0
593b60458157
child 7
9dd76cbd6c90
equal deleted inserted replaced
5:7e1196d551ff 6:302971e8599b
31 31
32 all: $(BUILD_DIR)/sandbox FORCE 32 all: $(BUILD_DIR)/sandbox FORCE
33 @echo "Sandbox demo successfully built." 33 @echo "Sandbox demo successfully built."
34 34
35 $(BUILD_DIR)/sandbox: $(BUILD_DIR)/sandbox.o $(LIB_ASCENSION) 35 $(BUILD_DIR)/sandbox: $(BUILD_DIR)/sandbox.o $(LIB_ASCENSION)
36 echo "Linking executable..." 36 @echo "Linking executable..."
37 $(CC) $(LDFLAGS) -o $@ $^ 37 $(CC) $(LDFLAGS) -o $@ $^
38 38
39 $(BUILD_DIR)/sandbox.o: sandbox.c ../src/ascension/core.h 39 FORCE:
40 echo "Compiling $<" 40
41 $(BUILD_DIR)/sandbox.o: sandbox.c ../src/ascension/window.h \
42 ../src/ascension/core.h ../src/ascension/datatypes.h
43 @echo "Compiling $<"
41 $(CC) -o $@ $(CFLAGS) -c $< 44 $(CC) -o $@ $(CFLAGS) -c $<
42 45
43 FORCE:

mercurial