From 1e436946514f3a0e9fe3d091394db6b86e06f033 Mon Sep 17 00:00:00 2001 From: kartofen Date: Sat, 11 Nov 2023 19:00:10 +0200 Subject: .obj loading --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 939fb4c..d67b5ed 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ GLSLC := glslc ifeq ($(PROD),1) CFLAGS := -O2 # production flags else -CFLAGS := -Wall -Wextra -Wpedantic -lprofiler -g -DDEBUG # debug flags +CFLAGS := -Wall -Wextra -Wpedantic -g -DDEBUG # debug flags endif CFLAGS += -std=c99 -lm -lvulkan `sdl2-config --cflags --libs` /usr/local/lib/libcglm.a @@ -77,5 +77,6 @@ sanitize: clean run: $(NAME) $(RUN_CMD) -valgrind: all - valgrind -s --leak-check=full --show-leak-kinds=all $(RUN_CMD) +valgrind: $(BIND)/$(NAME) + cd $(BIND) && \ + valgrind -s --leak-check=full --show-leak-kinds=all ./$(NAME) -- cgit v1.2.3