diff options
author | quou <quou@disroot.org> | 2024-12-19 19:20:50 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-12-19 19:22:20 +1100 |
commit | bec7a1c90f7cda0a9e7d2e2628ac69b645108dc4 (patch) | |
tree | 830660aab41d90c24302d2c64e096292b62a4394 /Makefile | |
parent | 73744341846d4e76d6910dc5a15dff6d74586e39 (diff) |
basic vulkan setup
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 |