diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-05-16 17:23:18 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-05-16 17:23:18 +0200 |
commit | 766a817a23403ea2aeb325bea9f340f54a3e7987 (patch) | |
tree | 091da3186727528b208c4f3ebde4c241d45079f2 | |
parent | 7dd5ef4d6318582c4ece7ef74f6329c7b84de9df (diff) |
fix clean build compile order
-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 |