summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-12-27 12:04:51 +1100
committerquou <quou@disroot.org>2024-12-27 12:04:51 +1100
commite8c93463b2ae5114f0c88e768e5625abac9d5a50 (patch)
tree3fc7b774eb9bf172fbcb95bb3a410093a5b5b856 /Makefile
parent0d2179f6beb7e11632b76dac0615e593cafaaf00 (diff)
3D maths
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fbc4cf4..68b6b62 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ shaders = $(data_dir)/triangle.csh $(data_dir)/ui.csh
textures = $(data_dir)/22.tex $(data_dir)/kita.tex
packed_files = $(shaders) $(textures)
tools = qstd cfg sc
-objects = app.o c2.o video.o pipeline.o asset.o ui.o
+objects = app.o c2.o video.o pipeline.o asset.o ui.o maths.o
includes = -Iqstd
defines = -Dplat_x86 -Dplat_posix -Dplat_x11 -Dallocation_default_alignment=8
cflags = -MMD -MF $(basename $@).d $(includes) $(defines) $(DEBUG_COMPILE_FLAG)
@@ -61,6 +61,9 @@ asset.o:
ui.o:
$(CXX) -c $(cflags) ui.cpp -o ui.o
+maths.o:
+ $(CXX) -c $(cflags) maths.cpp -o maths.o
+
c2.o:
$(CXX) -c $(cflags) c2.cpp -o c2.o