38 @echo "Creating library..." |
38 @echo "Creating library..." |
39 $(AR) $(ARFLAGS) $@ $^ |
39 $(AR) $(ARFLAGS) $@ $^ |
40 |
40 |
41 FORCE: |
41 FORCE: |
42 |
42 |
43 $(BUILD_DIR)/core.o: core.c ascension/core.h ascension/datatypes.h |
43 $(BUILD_DIR)/context.o: context.c ascension/context.h ascension/window.h \ |
|
44 ascension/datatypes.h ascension/utils.h |
44 @echo "Compiling $<" |
45 @echo "Compiling $<" |
45 $(CC) -o $@ $(CFLAGS) -c $< |
46 $(CC) -o $@ $(CFLAGS) -c $< |
46 |
47 |
47 $(BUILD_DIR)/window.o: window.c ascension/window.h ascension/core.h \ |
48 $(BUILD_DIR)/error.o: error.c ascension/context.h ascension/window.h \ |
48 ascension/datatypes.h |
49 ascension/datatypes.h ascension/error.h ascension/utils.h |
49 @echo "Compiling $<" |
50 @echo "Compiling $<" |
50 $(CC) -o $@ $(CFLAGS) -c $< |
51 $(CC) -o $@ $(CFLAGS) -c $< |
51 |
52 |
|
53 $(BUILD_DIR)/window.o: window.c ascension/window.h ascension/datatypes.h \ |
|
54 ascension/context.h ascension/window.h ascension/error.h |
|
55 @echo "Compiling $<" |
|
56 $(CC) -o $@ $(CFLAGS) -c $< |
|
57 |