From c44d2805ba480fc7c2faf8ae07f2c1c9febf7e34 Mon Sep 17 00:00:00 2001 From: Aiden Gall Date: Sun, 4 Feb 2024 14:43:37 +0000 Subject: render with raylib --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0a49d95..feb5551 100644 --- a/Makefile +++ b/Makefile @@ -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} $< $@ -- cgit v1.2.3