diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |