From 768feb8bf10807142ff1f21d29f7492509362a18 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Wed, 28 Mar 2018 00:17:30 +0100 Subject: Move to using bie for assets Shaders are now stored in a bie flat archive and indexed via assets.c and assets.h. --- assets.mk | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 assets.mk (limited to 'assets.mk') diff --git a/assets.mk b/assets.mk new file mode 100644 index 0000000..27c502f --- /dev/null +++ b/assets.mk @@ -0,0 +1,9 @@ +ASSETS := vert.glsl frag.glsl + +assets.o: assets.h +assets.h assets.c: assets.idx +assets.bie assets.idx: $(ASSETS) + bie assets.bie assets.idx $^ +assets_data.o: assets.bie + $(LD) -r -b binary $(OUTPUT_OPTION) $< +CLEAN += assets.bie assets.idx -- cgit v1.2.3-54-g00ecf