From 6781af306edc8f6b0928013ed9ec2fa87d63da81 Mon Sep 17 00:00:00 2001 From: jvech Date: Mon, 12 Sep 2022 10:18:08 -0500 Subject: learn: 15. lightning maps --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index aaf20db..f50f361 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ CC := cc CFLAGS := -Wall -pedantic -pedantic-errors -std=c11 DLIBS := -lm $(shell pkg-config --libs glfw3 opengl glew) +INCLUDE := $(addprefix -I,./include) OBJDIR = objs SRCDIR = src OBJS = $(addprefix objs/,main.o shader.o linear.o) @@ -14,7 +15,7 @@ $(OBJDIR): mkdir ${OBJDIR} $(OBJDIR)/%.o: $(SRCDIR)/%.c - ${CC} -c $< -o $@ ${CFLAGS} + ${CC} -c $< -o $@ ${CFLAGS} ${INCLUDE} build: $(OBJS) ${CC} $^ -o ${BIN} ${DLIBS} -- cgit v1.2.3-70-g09d2