aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 13 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index fbdfdb1..50bfaa4 100644
--- a/Makefile
+++ b/Makefile
@@ -2,15 +2,24 @@ LIBFT_PATH = ./libft
MINILIBX_PATH = ./miniLibX
CC = gcc
-CCFLAGS = -I$(LIBFT_PATH) -I$(MINILIBX_PATH) -I. -Wall -Wextra #-Werror
+CCFLAGS = -I$(LIBFT_PATH) -I$(MINILIBX_PATH) -I. -Wall -Wextra -g #-Werror
LDFLAGS = -L$(LIBFT_PATH) -lft \
-L$(MINILIBX_PATH) -lmlx \
-framework OpenGL -framework AppKit -lm
NAME = cub3D
-SRC = main.c event.c parse/parse.c parse/parse_textures.c \
- parse/parse_color.c parse/parse_resolution.c \
- state.c vector.c render.c helper.c error.c
+SRC = main.c \
+ parse/parse.c \
+ parse/parse_textures.c \
+ parse/parse_color.c \
+ parse/parse_resolution.c \
+ parse/parse_check.c \
+ event.c \
+ state.c \
+ vector.c \
+ render.c \
+ helper.c \
+ error.c
OBJ = $(SRC:.c=.o)
INCLUDE = cub3d.h