src/Makefile

changeset 48
6e5b5ba2752c
parent 44
b3da4096c607
child 49
77493525eac2
equal deleted inserted replaced
47:44457f6cb0a2 48:6e5b5ba2752c
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/font.h ascension/error.h ascension/utils.h ascension/shader.h 52 ascension/ui/font.h ascension/error.h ascension/utils.h \
53 ascension/shader.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/font.h \ 60 ascension/transform.h ascension/camera.h ascension/ui/font.h \
60 ascension/error.h ascension/utils.h 61 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 $<"
66 $(CC) -o $@ $(CFLAGS) -c $< 67 $(CC) -o $@ $(CFLAGS) -c $<
67 68
68 $(BUILD_DIR)/font.o: font.c ascension/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/font.h ascension/error.h 73 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/font.h 87 ascension/transform.h ascension/camera.h ascension/ui/font.h
87 @echo "Compiling $<" 88 @echo "Compiling $<"
88 $(CC) -o $@ $(CFLAGS) -c $< 89 $(CC) -o $@ $(CFLAGS) -c $<
89 90
90 $(BUILD_DIR)/scene.o: scene.c ascension/scene.h ascension/datatypes.h \ 91 $(BUILD_DIR)/scene.o: scene.c ascension/scene.h ascension/datatypes.h \
91 ascension/transform.h ascension/camera.h ascension/error.h \ 92 ascension/transform.h ascension/camera.h ascension/error.h \
92 ascension/context.h ascension/window.h ascension/glcontext.h \ 93 ascension/context.h ascension/window.h ascension/glcontext.h \
93 ascension/primitives.h ascension/mesh.h ascension/shader.h \ 94 ascension/primitives.h ascension/mesh.h ascension/shader.h \
94 ascension/scene.h ascension/font.h ascension/shader.h 95 ascension/scene.h ascension/ui/font.h ascension/shader.h
95 @echo "Compiling $<" 96 @echo "Compiling $<"
96 $(CC) -o $@ $(CFLAGS) -c $< 97 $(CC) -o $@ $(CFLAGS) -c $<
97 98
98 $(BUILD_DIR)/shader.o: shader.c ascension/shader.h ascension/files.h \ 99 $(BUILD_DIR)/shader.o: shader.c ascension/shader.h ascension/files.h \
99 ascension/error.h 100 ascension/error.h
100 @echo "Compiling $<" 101 @echo "Compiling $<"
101 $(CC) -o $@ $(CFLAGS) -c $< 102 $(CC) -o $@ $(CFLAGS) -c $<
102 103
103 $(BUILD_DIR)/text.o: text.c ascension/text.h ascension/font.h \ 104 $(BUILD_DIR)/text.o: text.c ascension/ui/text.h ascension/ui/font.h \
104 ascension/scene.h ascension/datatypes.h ascension/transform.h \ 105 ascension/ui/../scene.h ascension/ui/../datatypes.h \
105 ascension/camera.h ascension/context.h ascension/window.h \ 106 ascension/ui/../transform.h ascension/ui/../camera.h ascension/context.h \
106 ascension/glcontext.h ascension/primitives.h ascension/mesh.h \ 107 ascension/datatypes.h ascension/window.h ascension/glcontext.h \
107 ascension/shader.h ascension/error.h ascension/shader.h 108 ascension/primitives.h ascension/mesh.h ascension/shader.h \
109 ascension/scene.h ascension/ui/font.h ascension/error.h \
110 ascension/shader.h
108 @echo "Compiling $<" 111 @echo "Compiling $<"
109 $(CC) -o $@ $(CFLAGS) -c $< 112 $(CC) -o $@ $(CFLAGS) -c $<
110 113
111 $(BUILD_DIR)/window.o: window.c ascension/window.h ascension/datatypes.h \ 114 $(BUILD_DIR)/window.o: window.c ascension/window.h ascension/datatypes.h \
112 ascension/glcontext.h ascension/primitives.h ascension/mesh.h \ 115 ascension/glcontext.h ascension/primitives.h ascension/mesh.h \
113 ascension/shader.h ascension/scene.h ascension/transform.h \ 116 ascension/shader.h ascension/scene.h ascension/transform.h \
114 ascension/camera.h ascension/context.h ascension/window.h \ 117 ascension/camera.h ascension/context.h ascension/window.h \
115 ascension/font.h ascension/error.h ascension/utils.h 118 ascension/ui/font.h ascension/error.h ascension/utils.h
116 @echo "Compiling $<" 119 @echo "Compiling $<"
117 $(CC) -o $@ $(CFLAGS) -c $< 120 $(CC) -o $@ $(CFLAGS) -c $<
118 121

mercurial