aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 499fd24..a2d0fb8 100644
--- a/Makefile
+++ b/Makefile
@@ -2,11 +2,17 @@ LIBFT_PATH = ./libft
MINILIBX_PATH = ./miniLibX
CC = gcc
-CCFLAGS = -I$(LIBFT_PATH) -I$(MINILIBX_PATH) -Wall -Wextra #-Werror
-LDFLAGS = -L$(LIBFT_PATH) -lft -L$(MINILIBX_PATH) -lmlx
+CCFLAGS = -I$(LIBFT_PATH) -I$(MINILIBX_PATH) -I. -Wall -Wextra #-Werror
+LDFLAGS = -L$(LIBFT_PATH) -lft \
+ -L$(MINILIBX_PATH) -lmlx \
+ -framework OpenGL -framework AppKit
NAME = cub3D
-SRC = main.c
+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
OBJ = $(SRC:.c=.o)
INCLUDE = cub3d.h