src/Makefile

changeset 66
8297afa1c29c
parent 61
b7954818a6b7
equal deleted inserted replaced
65:9c44c55d327a 66:8297afa1c29c
47 47
48 $(BUILD_DIR)/context.o: context.c ascension/context.h \ 48 $(BUILD_DIR)/context.o: context.c ascension/context.h \
49 ascension/datatypes.h ascension/window.h ascension/glcontext.h \ 49 ascension/datatypes.h ascension/window.h ascension/glcontext.h \
50 ascension/primitives.h ascension/mesh.h ascension/shader.h \ 50 ascension/primitives.h ascension/mesh.h ascension/shader.h \
51 ascension/scene.h ascension/transform.h ascension/camera.h \ 51 ascension/scene.h ascension/transform.h ascension/camera.h \
52 ascension/ui/font.h ascension/error.h ascension/utils.h 52 ascension/input.h ascension/ui/font.h ascension/error.h \
53 ascension/utils.h
53 @echo "Compiling $<" 54 @echo "Compiling $<"
54 $(CC) -o $@ $(CFLAGS) -c $< 55 $(CC) -o $@ $(CFLAGS) -c $<
55 56
56 $(BUILD_DIR)/error.o: error.c ascension/context.h ascension/datatypes.h \ 57 $(BUILD_DIR)/error.o: error.c ascension/context.h ascension/datatypes.h \
57 ascension/window.h ascension/glcontext.h ascension/primitives.h \ 58 ascension/window.h ascension/glcontext.h ascension/primitives.h \
58 ascension/mesh.h ascension/shader.h ascension/scene.h \ 59 ascension/mesh.h ascension/shader.h ascension/scene.h \
59 ascension/transform.h ascension/camera.h ascension/ui/font.h \ 60 ascension/transform.h ascension/camera.h ascension/input.h \
60 ascension/error.h ascension/utils.h 61 ascension/ui/font.h ascension/error.h ascension/utils.h
61 @echo "Compiling $<" 62 @echo "Compiling $<"
62 $(CC) -o $@ $(CFLAGS) -c $< 63 $(CC) -o $@ $(CFLAGS) -c $<
63 64
64 $(BUILD_DIR)/files.o: files.c ascension/files.h ascension/error.h 65 $(BUILD_DIR)/files.o: files.c ascension/files.h ascension/error.h
65 @echo "Compiling $<" 66 @echo "Compiling $<"
67 68
68 $(BUILD_DIR)/font.o: font.c ascension/ui/font.h ascension/context.h \ 69 $(BUILD_DIR)/font.o: font.c ascension/ui/font.h ascension/context.h \
69 ascension/datatypes.h ascension/window.h ascension/glcontext.h \ 70 ascension/datatypes.h ascension/window.h ascension/glcontext.h \
70 ascension/primitives.h ascension/mesh.h ascension/shader.h \ 71 ascension/primitives.h ascension/mesh.h ascension/shader.h \
71 ascension/scene.h ascension/transform.h ascension/camera.h \ 72 ascension/scene.h ascension/transform.h ascension/camera.h \
72 ascension/ui/font.h ascension/error.h 73 ascension/input.h ascension/ui/font.h ascension/error.h
73 @echo "Compiling $<" 74 @echo "Compiling $<"
74 $(CC) -o $@ $(CFLAGS) -c $< 75 $(CC) -o $@ $(CFLAGS) -c $<
75 76
76 $(BUILD_DIR)/glcontext.o: glcontext.c ascension/glcontext.h \ 77 $(BUILD_DIR)/glcontext.o: glcontext.c ascension/glcontext.h \
77 ascension/primitives.h ascension/mesh.h ascension/shader.h \ 78 ascension/primitives.h ascension/mesh.h ascension/shader.h \
81 82
82 $(BUILD_DIR)/primitives.o: primitives.c ascension/primitives.h \ 83 $(BUILD_DIR)/primitives.o: primitives.c ascension/primitives.h \
83 ascension/mesh.h ascension/error.h ascension/context.h \ 84 ascension/mesh.h ascension/error.h ascension/context.h \
84 ascension/datatypes.h ascension/window.h ascension/glcontext.h \ 85 ascension/datatypes.h ascension/window.h ascension/glcontext.h \
85 ascension/primitives.h ascension/shader.h ascension/scene.h \ 86 ascension/primitives.h ascension/shader.h ascension/scene.h \
86 ascension/transform.h ascension/camera.h ascension/ui/font.h 87 ascension/transform.h ascension/camera.h ascension/input.h \
88 ascension/ui/font.h
87 @echo "Compiling $<" 89 @echo "Compiling $<"
88 $(CC) -o $@ $(CFLAGS) -c $< 90 $(CC) -o $@ $(CFLAGS) -c $<
89 91
90 $(BUILD_DIR)/scene.o: scene.c ascension/scene.h ascension/datatypes.h \ 92 $(BUILD_DIR)/scene.o: scene.c ascension/scene.h ascension/datatypes.h \
91 ascension/transform.h ascension/camera.h ascension/context.h \ 93 ascension/transform.h ascension/camera.h ascension/context.h \
92 ascension/window.h ascension/glcontext.h ascension/primitives.h \ 94 ascension/window.h ascension/glcontext.h ascension/primitives.h \
93 ascension/mesh.h ascension/shader.h ascension/scene.h \ 95 ascension/mesh.h ascension/shader.h ascension/scene.h ascension/input.h \
94 ascension/ui/font.h ascension/utils.h ascension/shader.h 96 ascension/ui/font.h ascension/utils.h ascension/shader.h
95 @echo "Compiling $<" 97 @echo "Compiling $<"
96 $(CC) -o $@ $(CFLAGS) -c $< 98 $(CC) -o $@ $(CFLAGS) -c $<
97 99
98 $(BUILD_DIR)/shader.o: shader.c ascension/shader.h ascension/files.h \ 100 $(BUILD_DIR)/shader.o: shader.c ascension/shader.h ascension/files.h \
104 ascension/ui/../scene.h ascension/ui/../datatypes.h \ 106 ascension/ui/../scene.h ascension/ui/../datatypes.h \
105 ascension/ui/../transform.h ascension/ui/../camera.h \ 107 ascension/ui/../transform.h ascension/ui/../camera.h \
106 ascension/ui/../texture.h ascension/ui/../utils.h ascension/context.h \ 108 ascension/ui/../texture.h ascension/ui/../utils.h ascension/context.h \
107 ascension/datatypes.h ascension/window.h ascension/glcontext.h \ 109 ascension/datatypes.h ascension/window.h ascension/glcontext.h \
108 ascension/primitives.h ascension/mesh.h ascension/shader.h \ 110 ascension/primitives.h ascension/mesh.h ascension/shader.h \
109 ascension/scene.h ascension/ui/font.h ascension/error.h \ 111 ascension/scene.h ascension/input.h ascension/ui/font.h \
110 ascension/shader.h 112 ascension/error.h ascension/shader.h
111 @echo "Compiling $<" 113 @echo "Compiling $<"
112 $(CC) -o $@ $(CFLAGS) -c $< 114 $(CC) -o $@ $(CFLAGS) -c $<
113 115
114 $(BUILD_DIR)/texture.o: texture.c ascension/texture.h ascension/error.h 116 $(BUILD_DIR)/texture.o: texture.c ascension/texture.h ascension/error.h
115 @echo "Compiling $<" 117 @echo "Compiling $<"
117 119
118 $(BUILD_DIR)/window.o: window.c ascension/window.h ascension/datatypes.h \ 120 $(BUILD_DIR)/window.o: window.c ascension/window.h ascension/datatypes.h \
119 ascension/glcontext.h ascension/primitives.h ascension/mesh.h \ 121 ascension/glcontext.h ascension/primitives.h ascension/mesh.h \
120 ascension/shader.h ascension/scene.h ascension/transform.h \ 122 ascension/shader.h ascension/scene.h ascension/transform.h \
121 ascension/camera.h ascension/context.h ascension/window.h \ 123 ascension/camera.h ascension/context.h ascension/window.h \
122 ascension/ui/font.h ascension/error.h ascension/utils.h 124 ascension/input.h ascension/ui/font.h ascension/error.h \
125 ascension/utils.h
123 @echo "Compiling $<" 126 @echo "Compiling $<"
124 $(CC) -o $@ $(CFLAGS) -c $< 127 $(CC) -o $@ $(CFLAGS) -c $<
125 128

mercurial