41 |
41 |
42 FORCE: |
42 FORCE: |
43 |
43 |
44 $(BUILD_DIR)/context.o: context.c ascension/context.h \ |
44 $(BUILD_DIR)/context.o: context.c ascension/context.h \ |
45 ascension/datatypes.h ascension/window.h ascension/primitives.h \ |
45 ascension/datatypes.h ascension/window.h ascension/primitives.h \ |
46 ascension/mesh.h ascension/scene.h ascension/font.h ascension/error.h \ |
46 ascension/mesh.h ascension/scene.h ascension/transform.h \ |
47 ascension/utils.h ascension/shader.h |
47 ascension/font.h ascension/error.h ascension/utils.h ascension/shader.h |
48 @echo "Compiling $<" |
48 @echo "Compiling $<" |
49 $(CC) -o $@ $(CFLAGS) -c $< |
49 $(CC) -o $@ $(CFLAGS) -c $< |
50 |
50 |
51 $(BUILD_DIR)/error.o: error.c ascension/context.h ascension/datatypes.h \ |
51 $(BUILD_DIR)/error.o: error.c ascension/context.h ascension/datatypes.h \ |
52 ascension/window.h ascension/primitives.h ascension/mesh.h \ |
52 ascension/window.h ascension/primitives.h ascension/mesh.h \ |
53 ascension/scene.h ascension/font.h ascension/error.h ascension/utils.h |
53 ascension/scene.h ascension/transform.h ascension/font.h \ |
|
54 ascension/error.h ascension/utils.h |
54 @echo "Compiling $<" |
55 @echo "Compiling $<" |
55 $(CC) -o $@ $(CFLAGS) -c $< |
56 $(CC) -o $@ $(CFLAGS) -c $< |
56 |
57 |
57 $(BUILD_DIR)/files.o: files.c ascension/files.h ascension/error.h |
58 $(BUILD_DIR)/files.o: files.c ascension/files.h ascension/error.h |
58 @echo "Compiling $<" |
59 @echo "Compiling $<" |
59 $(CC) -o $@ $(CFLAGS) -c $< |
60 $(CC) -o $@ $(CFLAGS) -c $< |
60 |
61 |
61 $(BUILD_DIR)/font.o: font.c ascension/font.h ascension/context.h \ |
62 $(BUILD_DIR)/font.o: font.c ascension/font.h ascension/context.h \ |
62 ascension/datatypes.h ascension/window.h ascension/primitives.h \ |
63 ascension/datatypes.h ascension/window.h ascension/primitives.h \ |
63 ascension/mesh.h ascension/scene.h ascension/font.h ascension/error.h |
64 ascension/mesh.h ascension/scene.h ascension/transform.h \ |
|
65 ascension/font.h ascension/error.h |
64 @echo "Compiling $<" |
66 @echo "Compiling $<" |
65 $(CC) -o $@ $(CFLAGS) -c $< |
67 $(CC) -o $@ $(CFLAGS) -c $< |
66 |
68 |
67 $(BUILD_DIR)/primitives.o: primitives.c ascension/primitives.h \ |
69 $(BUILD_DIR)/primitives.o: primitives.c ascension/primitives.h \ |
68 ascension/mesh.h ascension/error.h ascension/context.h \ |
70 ascension/mesh.h ascension/error.h ascension/context.h \ |
69 ascension/datatypes.h ascension/window.h ascension/primitives.h \ |
71 ascension/datatypes.h ascension/window.h ascension/primitives.h \ |
70 ascension/scene.h ascension/font.h |
72 ascension/scene.h ascension/transform.h ascension/font.h |
71 @echo "Compiling $<" |
73 @echo "Compiling $<" |
72 $(CC) -o $@ $(CFLAGS) -c $< |
74 $(CC) -o $@ $(CFLAGS) -c $< |
73 |
75 |
74 $(BUILD_DIR)/scene.o: scene.c ascension/scene.h ascension/error.h |
76 $(BUILD_DIR)/scene.o: scene.c ascension/scene.h ascension/transform.h \ |
|
77 ascension/datatypes.h ascension/error.h |
75 @echo "Compiling $<" |
78 @echo "Compiling $<" |
76 $(CC) -o $@ $(CFLAGS) -c $< |
79 $(CC) -o $@ $(CFLAGS) -c $< |
77 |
80 |
78 $(BUILD_DIR)/shader.o: shader.c ascension/shader.h ascension/files.h \ |
81 $(BUILD_DIR)/shader.o: shader.c ascension/shader.h ascension/files.h \ |
79 ascension/error.h |
82 ascension/error.h |
80 @echo "Compiling $<" |
83 @echo "Compiling $<" |
81 $(CC) -o $@ $(CFLAGS) -c $< |
84 $(CC) -o $@ $(CFLAGS) -c $< |
82 |
85 |
83 $(BUILD_DIR)/text.o: text.c ascension/text.h ascension/font.h \ |
86 $(BUILD_DIR)/text.o: text.c ascension/text.h ascension/font.h \ |
84 ascension/datatypes.h ascension/scene.h ascension/context.h \ |
87 ascension/scene.h ascension/transform.h ascension/datatypes.h \ |
85 ascension/window.h ascension/primitives.h ascension/mesh.h \ |
88 ascension/context.h ascension/window.h ascension/primitives.h \ |
86 ascension/error.h ascension/shader.h |
89 ascension/mesh.h ascension/error.h ascension/shader.h |
87 @echo "Compiling $<" |
90 @echo "Compiling $<" |
88 $(CC) -o $@ $(CFLAGS) -c $< |
91 $(CC) -o $@ $(CFLAGS) -c $< |
89 |
92 |
90 $(BUILD_DIR)/window.o: window.c ascension/window.h ascension/datatypes.h \ |
93 $(BUILD_DIR)/window.o: window.c ascension/window.h ascension/datatypes.h \ |
91 ascension/primitives.h ascension/mesh.h ascension/scene.h \ |
94 ascension/primitives.h ascension/mesh.h ascension/scene.h \ |
92 ascension/context.h ascension/window.h ascension/font.h \ |
95 ascension/transform.h ascension/context.h ascension/window.h \ |
93 ascension/error.h ascension/utils.h |
96 ascension/font.h ascension/error.h ascension/utils.h |
94 @echo "Compiling $<" |
97 @echo "Compiling $<" |
95 $(CC) -o $@ $(CFLAGS) -c $< |
98 $(CC) -o $@ $(CFLAGS) -c $< |
96 |
99 |