map fits window

This commit is contained in:
hugogogo
2021-07-25 12:51:15 +02:00
parent 4d3fc2779c
commit c06489fd99
13 changed files with 152 additions and 73 deletions

View File

@@ -20,7 +20,8 @@ LIBS = $(_LIBS:lib%.a=%)
SRCS = fdf.c \
draw.c \
parse.c \
modifs.c
modifs.c \
keypress.c
ODIR = ./builds
OBJS = $(SRCS:%.c=$(ODIR)/%.o)
@@ -55,8 +56,9 @@ $(ODIR)/%.o: %.c
debug: CFLAGS += -fsanitize=address
debug: clean $(NAME)
leaks: clean $(NAME)
valgrind --leak-check=full --show-leak-kinds=all ./$(NAME)
leaks: $(NAME)
valgrind --leak-check=full --show-leak-kinds=all ./$(NAME) maps/42_color.fdf
# valgrind --leak-check=full --leak-resolution=low --show-reachable=yes ./$(NAME) maps/42_color.fdf
clean:
/bin/rm -f $(OBJS)