Sun, 20 Apr 2025 15:41:16 +0200
add support for 2d textures in sprite shader - fixes #386
0 | 1 | # Copyright 2023 Mike Becker. All rights reserved. |
2 | # | |
3 | # Redistribution and use in source and binary forms, with or without | |
4 | # modification, are permitted provided that the following conditions are met: | |
5 | # | |
6 | # 1. Redistributions of source code must retain the above copyright | |
7 | # notice, this list of conditions and the following disclaimer. | |
8 | # | |
9 | # 2. Redistributions in binary form must reproduce the above copyright | |
10 | # notice, this list of conditions and the following disclaimer in the | |
11 | # documentation and/or other materials provided with the distribution. | |
12 | # | |
13 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | |
14 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
15 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |
16 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE | |
17 | # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | |
18 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | |
19 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | |
20 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | |
21 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | |
22 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
23 | # POSSIBILITY OF SUCH DAMAGE. | |
24 | # | |
25 | ||
26 | include ../config.mk | |
27 | ||
28 | BUILD_DIR=../build/lib | |
29 | ||
86
943bf9d7c6d6
make asset paths configurable
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
30 | SRC = context.c glcontext.c error.c filesystem.c window.c \ |
943bf9d7c6d6
make asset paths configurable
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
31 | shader.c \ |
82
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
32 | mesh.c primitives.c texture.c \ |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
33 | sprite.c \ |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
34 | camera.c scene.c \ |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
35 | font.c text.c |
0 | 36 | |
37 | OBJ = $(SRC:%.c=$(BUILD_DIR)/%.o) | |
38 | ||
39 | all: $(BUILD_DIR)/libascension.a FORCE | |
6
302971e8599b
move window related stuff to its own unit
Mike Becker <universe@uap-core.de>
parents:
3
diff
changeset
|
40 | @echo "You have successfully ascended." |
0 | 41 | |
42 | $(BUILD_DIR)/libascension.a: $(OBJ) | |
6
302971e8599b
move window related stuff to its own unit
Mike Becker <universe@uap-core.de>
parents:
3
diff
changeset
|
43 | @echo "Creating library..." |
0 | 44 | $(AR) $(ARFLAGS) $@ $^ |
45 | ||
46 | FORCE: | |
47 | ||
37
8a8cc6725b48
add camera and render groups
Mike Becker <universe@uap-core.de>
parents:
32
diff
changeset
|
48 | $(BUILD_DIR)/camera.o: camera.c ascension/camera.h ascension/datatypes.h |
8a8cc6725b48
add camera and render groups
Mike Becker <universe@uap-core.de>
parents:
32
diff
changeset
|
49 | @echo "Compiling $<" |
8a8cc6725b48
add camera and render groups
Mike Becker <universe@uap-core.de>
parents:
32
diff
changeset
|
50 | $(CC) -o $@ $(CFLAGS) -c $< |
8a8cc6725b48
add camera and render groups
Mike Becker <universe@uap-core.de>
parents:
32
diff
changeset
|
51 | |
16
c5dde81b6fb2
add text rendering and demo FPS counter
Mike Becker <universe@uap-core.de>
parents:
15
diff
changeset
|
52 | $(BUILD_DIR)/context.o: context.c ascension/context.h \ |
44
b3da4096c607
create own compilation unit for GL context - fixes shader not being created per context
Mike Becker <universe@uap-core.de>
parents:
37
diff
changeset
|
53 | ascension/datatypes.h ascension/window.h ascension/glcontext.h \ |
b3da4096c607
create own compilation unit for GL context - fixes shader not being created per context
Mike Becker <universe@uap-core.de>
parents:
37
diff
changeset
|
54 | ascension/primitives.h ascension/mesh.h ascension/shader.h \ |
82
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
55 | ascension/scene.h ascension/scene_node.h ascension/transform.h \ |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
56 | ascension/camera.h ascension/input.h ascension/ui/font.h \ |
77
2187a732f4d7
prepare code for embedding shader sources with c23 #embed
Mike Becker <universe@uap-core.de>
parents:
66
diff
changeset
|
57 | ascension/error.h ascension/utils.h |
6
302971e8599b
move window related stuff to its own unit
Mike Becker <universe@uap-core.de>
parents:
3
diff
changeset
|
58 | @echo "Compiling $<" |
0 | 59 | $(CC) -o $@ $(CFLAGS) -c $< |
60 | ||
16
c5dde81b6fb2
add text rendering and demo FPS counter
Mike Becker <universe@uap-core.de>
parents:
15
diff
changeset
|
61 | $(BUILD_DIR)/error.o: error.c ascension/context.h ascension/datatypes.h \ |
44
b3da4096c607
create own compilation unit for GL context - fixes shader not being created per context
Mike Becker <universe@uap-core.de>
parents:
37
diff
changeset
|
62 | ascension/window.h ascension/glcontext.h ascension/primitives.h \ |
b3da4096c607
create own compilation unit for GL context - fixes shader not being created per context
Mike Becker <universe@uap-core.de>
parents:
37
diff
changeset
|
63 | ascension/mesh.h ascension/shader.h ascension/scene.h \ |
82
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
64 | ascension/scene_node.h ascension/transform.h ascension/camera.h \ |
77
2187a732f4d7
prepare code for embedding shader sources with c23 #embed
Mike Becker <universe@uap-core.de>
parents:
66
diff
changeset
|
65 | ascension/input.h ascension/ui/font.h ascension/error.h \ |
2187a732f4d7
prepare code for embedding shader sources with c23 #embed
Mike Becker <universe@uap-core.de>
parents:
66
diff
changeset
|
66 | ascension/utils.h |
15
362b7659dc76
add shader loading and unloading
Mike Becker <universe@uap-core.de>
parents:
11
diff
changeset
|
67 | @echo "Compiling $<" |
362b7659dc76
add shader loading and unloading
Mike Becker <universe@uap-core.de>
parents:
11
diff
changeset
|
68 | $(CC) -o $@ $(CFLAGS) -c $< |
362b7659dc76
add shader loading and unloading
Mike Becker <universe@uap-core.de>
parents:
11
diff
changeset
|
69 | |
86
943bf9d7c6d6
make asset paths configurable
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
70 | $(BUILD_DIR)/filesystem.o: filesystem.c ascension/filesystem.h |
943bf9d7c6d6
make asset paths configurable
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
71 | @echo "Compiling $<" |
943bf9d7c6d6
make asset paths configurable
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
72 | $(CC) -o $@ $(CFLAGS) -c $< |
943bf9d7c6d6
make asset paths configurable
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
73 | |
943bf9d7c6d6
make asset paths configurable
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
74 | $(BUILD_DIR)/font.o: font.c ascension/context.h ascension/datatypes.h \ |
943bf9d7c6d6
make asset paths configurable
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
75 | ascension/window.h ascension/glcontext.h ascension/primitives.h \ |
943bf9d7c6d6
make asset paths configurable
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
76 | ascension/mesh.h ascension/shader.h ascension/scene.h \ |
943bf9d7c6d6
make asset paths configurable
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
77 | ascension/scene_node.h ascension/transform.h ascension/camera.h \ |
943bf9d7c6d6
make asset paths configurable
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
78 | ascension/input.h ascension/ui/font.h ascension/error.h \ |
943bf9d7c6d6
make asset paths configurable
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
79 | ascension/filesystem.h ascension/ui/font.h |
44
b3da4096c607
create own compilation unit for GL context - fixes shader not being created per context
Mike Becker <universe@uap-core.de>
parents:
37
diff
changeset
|
80 | @echo "Compiling $<" |
b3da4096c607
create own compilation unit for GL context - fixes shader not being created per context
Mike Becker <universe@uap-core.de>
parents:
37
diff
changeset
|
81 | $(CC) -o $@ $(CFLAGS) -c $< |
b3da4096c607
create own compilation unit for GL context - fixes shader not being created per context
Mike Becker <universe@uap-core.de>
parents:
37
diff
changeset
|
82 | |
b3da4096c607
create own compilation unit for GL context - fixes shader not being created per context
Mike Becker <universe@uap-core.de>
parents:
37
diff
changeset
|
83 | $(BUILD_DIR)/glcontext.o: glcontext.c ascension/glcontext.h \ |
b3da4096c607
create own compilation unit for GL context - fixes shader not being created per context
Mike Becker <universe@uap-core.de>
parents:
37
diff
changeset
|
84 | ascension/primitives.h ascension/mesh.h ascension/shader.h \ |
78
9bc544f4ce8f
go back to reading shader code from files
Mike Becker <universe@uap-core.de>
parents:
77
diff
changeset
|
85 | ascension/error.h |
16
c5dde81b6fb2
add text rendering and demo FPS counter
Mike Becker <universe@uap-core.de>
parents:
15
diff
changeset
|
86 | @echo "Compiling $<" |
c5dde81b6fb2
add text rendering and demo FPS counter
Mike Becker <universe@uap-core.de>
parents:
15
diff
changeset
|
87 | $(CC) -o $@ $(CFLAGS) -c $< |
c5dde81b6fb2
add text rendering and demo FPS counter
Mike Becker <universe@uap-core.de>
parents:
15
diff
changeset
|
88 | |
81
84a546e282b7
create catch-all util for GL errors + refactors mesh creation
Mike Becker <universe@uap-core.de>
parents:
78
diff
changeset
|
89 | $(BUILD_DIR)/mesh.o: mesh.c ascension/mesh.h ascension/error.h |
84a546e282b7
create catch-all util for GL errors + refactors mesh creation
Mike Becker <universe@uap-core.de>
parents:
78
diff
changeset
|
90 | @echo "Compiling $<" |
84a546e282b7
create catch-all util for GL errors + refactors mesh creation
Mike Becker <universe@uap-core.de>
parents:
78
diff
changeset
|
91 | $(CC) -o $@ $(CFLAGS) -c $< |
84a546e282b7
create catch-all util for GL errors + refactors mesh creation
Mike Becker <universe@uap-core.de>
parents:
78
diff
changeset
|
92 | |
16
c5dde81b6fb2
add text rendering and demo FPS counter
Mike Becker <universe@uap-core.de>
parents:
15
diff
changeset
|
93 | $(BUILD_DIR)/primitives.o: primitives.c ascension/primitives.h \ |
c5dde81b6fb2
add text rendering and demo FPS counter
Mike Becker <universe@uap-core.de>
parents:
15
diff
changeset
|
94 | ascension/mesh.h ascension/error.h ascension/context.h \ |
44
b3da4096c607
create own compilation unit for GL context - fixes shader not being created per context
Mike Becker <universe@uap-core.de>
parents:
37
diff
changeset
|
95 | ascension/datatypes.h ascension/window.h ascension/glcontext.h \ |
b3da4096c607
create own compilation unit for GL context - fixes shader not being created per context
Mike Becker <universe@uap-core.de>
parents:
37
diff
changeset
|
96 | ascension/primitives.h ascension/shader.h ascension/scene.h \ |
82
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
97 | ascension/scene_node.h ascension/transform.h ascension/camera.h \ |
77
2187a732f4d7
prepare code for embedding shader sources with c23 #embed
Mike Becker <universe@uap-core.de>
parents:
66
diff
changeset
|
98 | ascension/input.h ascension/ui/font.h |
6
302971e8599b
move window related stuff to its own unit
Mike Becker <universe@uap-core.de>
parents:
3
diff
changeset
|
99 | @echo "Compiling $<" |
302971e8599b
move window related stuff to its own unit
Mike Becker <universe@uap-core.de>
parents:
3
diff
changeset
|
100 | $(CC) -o $@ $(CFLAGS) -c $< |
302971e8599b
move window related stuff to its own unit
Mike Becker <universe@uap-core.de>
parents:
3
diff
changeset
|
101 | |
37
8a8cc6725b48
add camera and render groups
Mike Becker <universe@uap-core.de>
parents:
32
diff
changeset
|
102 | $(BUILD_DIR)/scene.o: scene.c ascension/scene.h ascension/datatypes.h \ |
82
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
103 | ascension/scene_node.h ascension/transform.h ascension/camera.h \ |
77
2187a732f4d7
prepare code for embedding shader sources with c23 #embed
Mike Becker <universe@uap-core.de>
parents:
66
diff
changeset
|
104 | ascension/context.h ascension/window.h ascension/glcontext.h \ |
2187a732f4d7
prepare code for embedding shader sources with c23 #embed
Mike Becker <universe@uap-core.de>
parents:
66
diff
changeset
|
105 | ascension/primitives.h ascension/mesh.h ascension/shader.h \ |
2187a732f4d7
prepare code for embedding shader sources with c23 #embed
Mike Becker <universe@uap-core.de>
parents:
66
diff
changeset
|
106 | ascension/scene.h ascension/input.h ascension/ui/font.h \ |
82
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
107 | ascension/utils.h ascension/2d.h ascension/2d/sprite.h \ |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
108 | ascension/2d/../scene_node.h ascension/2d/../texture.h |
21
1a47c57666f5
add first draft of a scene graph structure
Mike Becker <universe@uap-core.de>
parents:
16
diff
changeset
|
109 | @echo "Compiling $<" |
1a47c57666f5
add first draft of a scene graph structure
Mike Becker <universe@uap-core.de>
parents:
16
diff
changeset
|
110 | $(CC) -o $@ $(CFLAGS) -c $< |
1a47c57666f5
add first draft of a scene graph structure
Mike Becker <universe@uap-core.de>
parents:
16
diff
changeset
|
111 | |
86
943bf9d7c6d6
make asset paths configurable
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
112 | $(BUILD_DIR)/shader.o: shader.c ascension/context.h ascension/datatypes.h \ |
943bf9d7c6d6
make asset paths configurable
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
113 | ascension/window.h ascension/glcontext.h ascension/primitives.h \ |
943bf9d7c6d6
make asset paths configurable
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
114 | ascension/mesh.h ascension/shader.h ascension/scene.h \ |
943bf9d7c6d6
make asset paths configurable
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
115 | ascension/scene_node.h ascension/transform.h ascension/camera.h \ |
943bf9d7c6d6
make asset paths configurable
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
116 | ascension/input.h ascension/ui/font.h ascension/shader.h \ |
943bf9d7c6d6
make asset paths configurable
Mike Becker <universe@uap-core.de>
parents:
82
diff
changeset
|
117 | ascension/error.h ascension/filesystem.h |
15
362b7659dc76
add shader loading and unloading
Mike Becker <universe@uap-core.de>
parents:
11
diff
changeset
|
118 | @echo "Compiling $<" |
362b7659dc76
add shader loading and unloading
Mike Becker <universe@uap-core.de>
parents:
11
diff
changeset
|
119 | $(CC) -o $@ $(CFLAGS) -c $< |
362b7659dc76
add shader loading and unloading
Mike Becker <universe@uap-core.de>
parents:
11
diff
changeset
|
120 | |
82
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
121 | $(BUILD_DIR)/sprite.o: sprite.c ascension/2d/sprite.h \ |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
122 | ascension/2d/../scene_node.h ascension/2d/../datatypes.h \ |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
123 | ascension/2d/../transform.h ascension/2d/../texture.h \ |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
124 | ascension/context.h ascension/datatypes.h ascension/window.h \ |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
125 | ascension/glcontext.h ascension/primitives.h ascension/mesh.h \ |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
126 | ascension/shader.h ascension/scene.h ascension/scene_node.h \ |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
127 | ascension/camera.h ascension/input.h ascension/ui/font.h \ |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
128 | ascension/glcontext.h |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
129 | @echo "Compiling $<" |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
130 | $(CC) -o $@ $(CFLAGS) -c $< |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
131 | |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
132 | $(BUILD_DIR)/text.o: text.c ascension/context.h ascension/datatypes.h \ |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
133 | ascension/window.h ascension/glcontext.h ascension/primitives.h \ |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
134 | ascension/mesh.h ascension/shader.h ascension/scene.h \ |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
135 | ascension/scene_node.h ascension/transform.h ascension/camera.h \ |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
136 | ascension/input.h ascension/ui/font.h ascension/error.h \ |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
137 | ascension/ui/text.h ascension/ui/font.h ascension/ui/../2d/sprite.h \ |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
138 | ascension/ui/../2d/../scene_node.h ascension/ui/../2d/../texture.h \ |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
139 | ascension/ui/../utils.h |
50 | 140 | @echo "Compiling $<" |
141 | $(CC) -o $@ $(CFLAGS) -c $< | |
142 | ||
143 | $(BUILD_DIR)/texture.o: texture.c ascension/texture.h ascension/error.h | |
7 | 144 | @echo "Compiling $<" |
145 | $(CC) -o $@ $(CFLAGS) -c $< | |
146 | ||
16
c5dde81b6fb2
add text rendering and demo FPS counter
Mike Becker <universe@uap-core.de>
parents:
15
diff
changeset
|
147 | $(BUILD_DIR)/window.o: window.c ascension/window.h ascension/datatypes.h \ |
44
b3da4096c607
create own compilation unit for GL context - fixes shader not being created per context
Mike Becker <universe@uap-core.de>
parents:
37
diff
changeset
|
148 | ascension/glcontext.h ascension/primitives.h ascension/mesh.h \ |
82
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
149 | ascension/shader.h ascension/scene.h ascension/scene_node.h \ |
4e1e698f4b0d
add generic mesh draw function and move sprite draw function to separate unit
Mike Becker <universe@uap-core.de>
parents:
81
diff
changeset
|
150 | ascension/transform.h ascension/camera.h ascension/context.h \ |
77
2187a732f4d7
prepare code for embedding shader sources with c23 #embed
Mike Becker <universe@uap-core.de>
parents:
66
diff
changeset
|
151 | ascension/window.h ascension/input.h ascension/ui/font.h \ |
2187a732f4d7
prepare code for embedding shader sources with c23 #embed
Mike Becker <universe@uap-core.de>
parents:
66
diff
changeset
|
152 | ascension/error.h ascension/utils.h |
16
c5dde81b6fb2
add text rendering and demo FPS counter
Mike Becker <universe@uap-core.de>
parents:
15
diff
changeset
|
153 | @echo "Compiling $<" |
c5dde81b6fb2
add text rendering and demo FPS counter
Mike Becker <universe@uap-core.de>
parents:
15
diff
changeset
|
154 | $(CC) -o $@ $(CFLAGS) -c $< |
c5dde81b6fb2
add text rendering and demo FPS counter
Mike Becker <universe@uap-core.de>
parents:
15
diff
changeset
|
155 |