src/Makefile

changeset 61
b7954818a6b7
parent 50
d8d2e4817db1
child 66
8297afa1c29c
equal deleted inserted replaced
60:3954c551ded3 61:b7954818a6b7
89 89
90 $(BUILD_DIR)/scene.o: scene.c ascension/scene.h ascension/datatypes.h \ 90 $(BUILD_DIR)/scene.o: scene.c ascension/scene.h ascension/datatypes.h \
91 ascension/transform.h ascension/camera.h ascension/context.h \ 91 ascension/transform.h ascension/camera.h ascension/context.h \
92 ascension/window.h ascension/glcontext.h ascension/primitives.h \ 92 ascension/window.h ascension/glcontext.h ascension/primitives.h \
93 ascension/mesh.h ascension/shader.h ascension/scene.h \ 93 ascension/mesh.h ascension/shader.h ascension/scene.h \
94 ascension/ui/font.h ascension/shader.h 94 ascension/ui/font.h ascension/utils.h ascension/shader.h
95 @echo "Compiling $<" 95 @echo "Compiling $<"
96 $(CC) -o $@ $(CFLAGS) -c $< 96 $(CC) -o $@ $(CFLAGS) -c $<
97 97
98 $(BUILD_DIR)/shader.o: shader.c ascension/shader.h ascension/files.h \ 98 $(BUILD_DIR)/shader.o: shader.c ascension/shader.h ascension/files.h \
99 ascension/error.h 99 ascension/error.h
101 $(CC) -o $@ $(CFLAGS) -c $< 101 $(CC) -o $@ $(CFLAGS) -c $<
102 102
103 $(BUILD_DIR)/text.o: text.c ascension/ui/text.h ascension/ui/font.h \ 103 $(BUILD_DIR)/text.o: text.c ascension/ui/text.h ascension/ui/font.h \
104 ascension/ui/../scene.h ascension/ui/../datatypes.h \ 104 ascension/ui/../scene.h ascension/ui/../datatypes.h \
105 ascension/ui/../transform.h ascension/ui/../camera.h \ 105 ascension/ui/../transform.h ascension/ui/../camera.h \
106 ascension/ui/../texture.h ascension/context.h ascension/datatypes.h \ 106 ascension/ui/../texture.h ascension/ui/../utils.h ascension/context.h \
107 ascension/window.h ascension/glcontext.h ascension/primitives.h \ 107 ascension/datatypes.h ascension/window.h ascension/glcontext.h \
108 ascension/mesh.h ascension/shader.h ascension/scene.h \ 108 ascension/primitives.h ascension/mesh.h ascension/shader.h \
109 ascension/ui/font.h ascension/error.h ascension/shader.h 109 ascension/scene.h ascension/ui/font.h ascension/error.h \
110 ascension/shader.h
110 @echo "Compiling $<" 111 @echo "Compiling $<"
111 $(CC) -o $@ $(CFLAGS) -c $< 112 $(CC) -o $@ $(CFLAGS) -c $<
112 113
113 $(BUILD_DIR)/texture.o: texture.c ascension/texture.h ascension/error.h 114 $(BUILD_DIR)/texture.o: texture.c ascension/texture.h ascension/error.h
114 @echo "Compiling $<" 115 @echo "Compiling $<"

mercurial