diff options
author | quou <quou@disroot.org> | 2024-12-14 23:15:34 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-12-14 23:19:17 +1100 |
commit | 44e48ddc2785b037abd202a8d38b2ef2e8c36600 (patch) | |
tree | f58887ce48f7fdbf6dcca365b2a1b02a34e1b355 /Makefile |
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e506470 --- /dev/null +++ b/Makefile @@ -0,0 +1,29 @@ +.POSIX: + +data_dir = data +shaders = data/triangle.csh +tools = qstd cfg sc + +.PHONY: all clean $(tools) +all: $(shaders) $(tools) + +qstd: + $(MAKE) -C qstd + +cfg: qstd + $(MAKE) -C cfg + +sc: qstd cfg + $(MAKE) -C sc + +data/triangle.csh: intermediate/triangle.glsl | $(data_dir) sc + ./sc/sc intermediate/triangle.glsl data/triangle.csh + +$(data_dir): + mkdir -p $(data_dir) + +clean: + rm -rf $(data_dir) + make -C qstd clean + make -C cfg clean + make -C sc clean |