diff options
author | Aiden Gall <aiden@aidengall.xyz> | 2024-02-04 14:43:37 +0000 |
---|---|---|
committer | Aiden Gall <aiden@aidengall.xyz> | 2024-02-04 14:46:37 +0000 |
commit | c44d2805ba480fc7c2faf8ae07f2c1c9febf7e34 (patch) | |
tree | 0171574e51da53dbe2664360949cc78259b2da0b /Makefile | |
parent | 5ff9d6184771970c14e682ecf55cbd9d27b2fada (diff) |
render with raylib
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -19,9 +19,9 @@ include config.mk -SRC = src/spirt.c src/util.c src/farbfeld.c +SRC = src/spirt.c src/util.c src/util_cl.c CLSRC = src/cl/spirt.cl -HDR = src/util.h src/farbfeld.h +HDR = src/util.h src/util_cl.h LL = ${CLSRC:.cl=.ll} SPV = ${CLSRC:.cl=.spv} @@ -30,16 +30,16 @@ OBJ = ${SRC:.c=.o} ${CLSRC:.cl=.o} all: spirt -src/spirt.o: config.mk src/util.h src/farbfeld.h src/util.o: config.mk -src/farbfeld.o: config.mk src/util.h +src/util_cl.o: config.mk src/util.h +src/spirt.o: config.mk src/util.h src/util_cl.h src/cl/spirt.o: config.mk spirt: ${OBJ} - ${CC} -o $@ $^ ${LDFLAGS} + ${CC} $(LDFLAGS) $^ $(LDLIBS) -o $@ %.o: %.c - ${CC} -c ${CFLAGS} $< -o $@ + ${CC} $(CFLAGS) -c -o $@ $< %.o: %.spv objcopy ${OBJFLAGS} $< $@ |