aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-01-10 11:44:44 +0100
committerCharles <sircharlesaze@gmail.com>2020-01-10 17:53:02 +0100
commit988e058680280e25d345b17d840c3c6d40e30a76 (patch)
tree0cdb0fe6bbf2b3a55edb5347d35aadf6576876c1 /Makefile
parent2875f205e24f19964d44ddce2470659d21fe902d (diff)
downloadcub3d-988e058680280e25d345b17d840c3c6d40e30a76.tar.gz
cub3d-988e058680280e25d345b17d840c3c6d40e30a76.tar.bz2
cub3d-988e058680280e25d345b17d840c3c6d40e30a76.zip
refactoring
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e59c2a3..84a4fae 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ LIBFT_PATH = ./libft
MINILIBX_PATH = ./miniLibX
CC = gcc
-CCFLAGS = -I$(LIBFT_PATH) -I$(MINILIBX_PATH) -I. -Wall -Wextra -g #-Werror
+CCFLAGS = -I$(LIBFT_PATH) -I$(MINILIBX_PATH) -I. -Wall -Wextra #-Werror
LDFLAGS = -L$(LIBFT_PATH) -lft \
-L$(MINILIBX_PATH) -lmlx \
-framework OpenGL -framework AppKit -lm
@@ -12,7 +12,7 @@ SRC = main.c event.c parse/parse.c parse/parse_east_texture.c \
parse/parse_north_texture.c parse/parse_south_texture.c \
parse/parse_west_texture.c parse/parse_ceilling_color.c \
parse/parse_floor_color.c parse/parse_resolution.c \
- parse/parse_sprite_texture.c graphics.c linear_algebra.c
+ parse/parse_sprite_texture.c state.c vector.c render.c
OBJ = $(SRC:.c=.o)
INCLUDE = cub3d.h
@@ -32,6 +32,8 @@ fclean: clean libft_fclean
re: fclean all
+bonus: all
+
libft_all:
make -C $(LIBFT_PATH) all