diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -14,6 +14,10 @@ main: shader.o main: hello_frag.o main: hello_vert.o +# fix compile order +main.o: hello_vert.h +main.o: hello_frag.h + %_frag.o %_frag.h &: %.frag ld -r -b binary -o $*_frag.o $< ./blobheader $< > $*_frag.h |