diff options
author | quou <quou@disroot.org> | 2024-12-27 11:35:01 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-12-27 11:36:20 +1100 |
commit | 6736966974aea334e119cdb0b6c330066061bf91 (patch) | |
tree | a16cc9a3d12e6f9468dbb8fe30146acd78f4af64 /Makefile | |
parent | 5f9100b935a27bbb6d5ac8ab2050b19ba2894087 (diff) |
basic text rendering
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -2,11 +2,11 @@ target = c2 data_dir = data -shaders = $(data_dir)/triangle.csh +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 +objects = app.o c2.o video.o pipeline.o asset.o ui.o includes = -Iqstd defines = -Dplat_x86 -Dplat_posix -Dplat_x11 -Dallocation_default_alignment=8 cflags = -MMD -MF $(basename $@).d $(includes) $(defines) $(DEBUG_COMPILE_FLAG) @@ -37,6 +37,9 @@ pack: $(packed_files) packer data/triangle.csh: intermediate/triangle.glsl | $(data_dir) sc ./sc/sc intermediate/triangle.glsl $(data_dir)/triangle.csh +data/ui.csh: intermediate/ui.glsl | $(data_dir) sc + ./sc/sc intermediate/ui.glsl $(data_dir)/ui.csh + data/22.tex: intermediate/22.bmp | $(data_dir) convtexture ./convtexture intermediate/22.bmp $(data_dir)/22.tex bc1 @@ -55,6 +58,9 @@ pipeline.o: asset.o: $(CXX) -c $(cflags) asset.cpp -o asset.o +ui.o: + $(CXX) -c $(cflags) ui.cpp -o ui.o + c2.o: $(CXX) -c $(cflags) c2.cpp -o c2.o |