| 43 @echo "Creating library..." |
43 @echo "Creating library..." |
| 44 $(AR) $(ARFLAGS) $@ $^ |
44 $(AR) $(ARFLAGS) $@ $^ |
| 45 |
45 |
| 46 FORCE: |
46 FORCE: |
| 47 |
47 |
| 48 $(BUILD_DIR)/behavior.o: behavior.c ascension/behavior.h |
48 $(BUILD_DIR)/behavior.o: behavior.c ascension/behavior.h \ |
| |
49 ascension/scene_node.h ascension/datatypes.h ascension/transform.h \ |
| |
50 ascension/error.h |
| 49 @echo "Compiling $<" |
51 @echo "Compiling $<" |
| 50 $(CC) -o $@ $(CFLAGS) -c $< |
52 $(CC) -o $@ $(CFLAGS) -c $< |
| 51 |
53 |
| 52 $(BUILD_DIR)/camera.o: camera.c ascension/error.h ascension/camera.h \ |
54 $(BUILD_DIR)/camera.o: camera.c ascension/error.h ascension/camera.h \ |
| 53 ascension/datatypes.h |
55 ascension/datatypes.h |
| 103 $(BUILD_DIR)/scene.o: scene.c ascension/error.h ascension/context.h \ |
105 $(BUILD_DIR)/scene.o: scene.c ascension/error.h ascension/context.h \ |
| 104 ascension/datatypes.h ascension/window.h ascension/glcontext.h \ |
106 ascension/datatypes.h ascension/window.h ascension/glcontext.h \ |
| 105 ascension/primitives.h ascension/mesh.h ascension/shader.h \ |
107 ascension/primitives.h ascension/mesh.h ascension/shader.h \ |
| 106 ascension/texture.h ascension/scene.h ascension/scene_node.h \ |
108 ascension/texture.h ascension/scene.h ascension/scene_node.h \ |
| 107 ascension/transform.h ascension/camera.h ascension/input.h \ |
109 ascension/transform.h ascension/camera.h ascension/input.h \ |
| 108 ascension/ui/font.h ascension/scene.h ascension/shader.h ascension/2d.h \ |
110 ascension/ui/font.h ascension/scene.h ascension/behavior.h \ |
| 109 ascension/2d/sprite.h ascension/2d/../scene_node.h \ |
111 ascension/shader.h ascension/2d.h ascension/2d/sprite.h \ |
| 110 ascension/2d/../texture.h |
112 ascension/2d/../scene_node.h ascension/2d/../texture.h |
| 111 @echo "Compiling $<" |
113 @echo "Compiling $<" |
| 112 $(CC) -o $@ $(CFLAGS) -c $< |
114 $(CC) -o $@ $(CFLAGS) -c $< |
| 113 |
115 |
| 114 $(BUILD_DIR)/scene_node.o: scene_node.c ascension/scene_node.h \ |
116 $(BUILD_DIR)/scene_node.o: scene_node.c ascension/scene_node.h \ |
| 115 ascension/datatypes.h ascension/transform.h ascension/context.h \ |
117 ascension/datatypes.h ascension/transform.h ascension/context.h \ |