From 766a817a23403ea2aeb325bea9f340f54a3e7987 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Thu, 16 May 2024 17:23:18 +0200 Subject: fix clean build compile order --- makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/makefile b/makefile index 42f4e1a..e024267 100644 --- a/makefile +++ b/makefile @@ -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 -- cgit v1.2.3