aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/makefile b/makefile
index 49551f1..539ac68 100644
--- a/makefile
+++ b/makefile
@@ -8,6 +8,15 @@ all: main FORCE
main: main.o
main: die.o
main: draw.o
+main: hello_frag.o
+main: hello_vert.o
+
+%_frag.o %_frag.h &: %.frag
+ ld -r -b binary -o $*_frag.o $<
+ ./blobheader $< > $*_frag.h
+%_vert.o %_vert.h &: %.vert
+ ld -r -b binary -o $*_vert.o $<
+ ./blobheader $< > $*_vert.h
clean: FORCE
git clean -fxdi