diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2018-03-28 00:17:30 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2018-03-28 00:18:53 +0100 |
commit | 768feb8bf10807142ff1f21d29f7492509362a18 (patch) | |
tree | 5adad2a4791c5c100c934e01d70c089d0b6002ed /assets.mk | |
parent | f68b69f5d2e99143d371c6e50ca28f0d5ff739c5 (diff) | |
download | faqe-768feb8bf10807142ff1f21d29f7492509362a18.tar.gz faqe-768feb8bf10807142ff1f21d29f7492509362a18.tar.xz faqe-768feb8bf10807142ff1f21d29f7492509362a18.zip |
Move to using bie for assets
Shaders are now stored in a bie flat archive and indexed via assets.c
and assets.h.
Diffstat (limited to 'assets.mk')
-rw-r--r-- | assets.mk | 9 |
1 files changed, 9 insertions, 0 deletions
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 |