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 $(LIB_ASCENSION): |
|
40 test -f "$@" |
|
41 |
39 FORCE: |
42 FORCE: |
40 |
43 |
41 $(BUILD_DIR)/sandbox.o: sandbox.c ../src/ascension/ascension.h \ |
44 $(BUILD_DIR)/sandbox.o: sandbox.c ../src/ascension/ascension.h \ |
42 ../src/ascension/error.h ../src/ascension/context.h \ |
45 ../src/ascension/error.h ../src/ascension/context.h \ |
43 ../src/ascension/datatypes.h ../src/ascension/window.h \ |
46 ../src/ascension/datatypes.h ../src/ascension/window.h \ |