diff options
author | kartofen <mladenovnasko0@gmail.com> | 2023-11-11 19:00:10 +0200 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2023-11-11 19:00:10 +0200 |
commit | 1e436946514f3a0e9fe3d091394db6b86e06f033 (patch) | |
tree | cddf3bb618ade66fd5bd4eacd028a7d54a760e37 /Makefile | |
parent | 2a733f3d513a7279c1df4efe88fc5386ced2ed14 (diff) |
.obj loading
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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) |