From 44e48ddc2785b037abd202a8d38b2ef2e8c36600 Mon Sep 17 00:00:00 2001 From: quou Date: Sat, 14 Dec 2024 23:15:34 +1100 Subject: initial commit --- Makefile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3-54-g00ecf