summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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