diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -4,7 +4,7 @@ target = c2 data_dir = data shaders = data/triangle.csh tools = qstd cfg sc -objects = app.o c2.o +objects = app.o c2.o video.o pipeline.o includes = -Iqstd defines = -Dplat_x86 -Dplat_posix -Dplat_x11 -Dallocation_default_alignment=8 cflags = $(includes) $(defines) $(DEBUG_COMPILE_FLAG) @@ -26,10 +26,16 @@ sc: qstd cfg data/triangle.csh: intermediate/triangle.glsl | $(data_dir) sc ./sc/sc intermediate/triangle.glsl data/triangle.csh -app.o: app.cpp app.hpp +app.o: app.cpp app.hpp qstd/memory.h qstd/plat.h $(CXX) -c $(cflags) app.cpp -o app.o -c2.o: c2.cpp app.hpp +video.o: video.cpp video.hpp app.hpp qstd/memory.h qstd/plat.h qstd/str.h sc/sh_enums.h + $(CXX) -c $(cflags) video.cpp -o video.o + +pipeline.o: pipeline.cpp video.hpp qstd/memory.h qstd/plat.h + $(CXX) -c $(cflags) pipeline.cpp -o pipeline.o + +c2.o: c2.cpp app.hpp video.hpp qstd/memory.h qstd/plat.h $(CXX) -c $(cflags) c2.cpp -o c2.o $(target): $(objects) qstd/libqstd.a |