diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-05-16 12:05:48 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-05-16 12:05:48 +0200 |
commit | 548fcede95d44a3486e43f24302809792754861a (patch) | |
tree | 60b27e52b1d3a6826c03e943141184541bb864c5 /makefile | |
parent | 83ed40fd01120e1b46dba5d2bac895862731196d (diff) |
WIP fragment shader hello world
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 |