From 548fcede95d44a3486e43f24302809792754861a Mon Sep 17 00:00:00 2001 From: lonkaars Date: Thu, 16 May 2024 12:05:48 +0200 Subject: WIP fragment shader hello world --- makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'makefile') 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 -- cgit v1.2.3