From 988e058680280e25d345b17d840c3c6d40e30a76 Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 10 Jan 2020 11:44:44 +0100 Subject: refactoring --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit