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: |
|