From 9e1f4605408821b74c9e74216fbf995d29a3921c Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 15 Nov 2019 09:34:54 +0100 Subject: .cub file parsing --- Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit