mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 01:48:08 +01:00
testing with bonus rules
This commit is contained in:
parent
de740ad418
commit
34db19c1a2
2 changed files with 13 additions and 4 deletions
10
Makefile
10
Makefile
|
|
@ -1,6 +1,5 @@
|
|||
CC=cc
|
||||
SANITIZERS=
|
||||
#-fsanitize=address -fno-omit-frame-pointer
|
||||
SANITIZERS=-fsanitize=address -fno-omit-frame-pointer
|
||||
CFLAGS=-Wall -Wextra -Werror -ggdb $(SANITIZERS) -I mlx
|
||||
SOURCEFILES=src/main.c \
|
||||
src/map/map_checker.c \
|
||||
|
|
@ -28,6 +27,13 @@ clean:
|
|||
fclean: clean
|
||||
rm -f $(NAME)
|
||||
|
||||
bonus: CFLAGS += -D BONUS=1
|
||||
bonus: fclean $(OBJECTS)
|
||||
$(MAKE) -C mlx/
|
||||
$(MAKE) -C libft/
|
||||
cp libft/libft.a .
|
||||
$(CC) $(CFLAGS) $(OBJECTS) -D BONUS=1 -o $(NAME) -L. -lft -Lmlx -lmlx -lz -lXext -lX11
|
||||
|
||||
re: fclean all
|
||||
|
||||
.PHONY: all clean fclean re
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue