From 51f58c3e656012c745b9e95daf169327542748e5 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Thu, 13 Feb 2020 17:18:47 +0100 Subject: does not compile but new header for structs --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6b20e5b..6e8393c 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ MLX_DIR = minilibx/ #--------------------------------- Files --------------------------------------# #==============================================================================# INCS = cub3d.h +INCS += cub3d_structs.h #------------------------------------------------------------------------------# SRCS_NAME = main.c SRCS_NAME += ft_init_lists.c @@ -41,6 +42,7 @@ SRCS_NAME += ft_init_winlx.c SRCS_NAME += ft_drawmap.c SRCS_NAME += ft_print_list.c SRCS_NAME += ft_rgb_to_hex.c +SRCS_NAME += ft_raycasting.c #------------------------------------------------------------------------------# SRCS = $(addprefix ${SRCS_DIR},${SRCS_NAME}) #------------------------------------------------------------------------------# @@ -90,7 +92,7 @@ endif #==============================================================================# #--------------------------------- Rules --------------------------------------# #==============================================================================# -${OBJS_DIR}%.o: ${SRCS_DIR}%.c ${INCS_DIR}${INCS} +${OBJS_DIR}%.o: ${SRCS_DIR}%.c ${INCS_DIR}%.h @${MKDIR} ${OBJS_DIR} ifeq (${OS}, Darwin) ${CC} -c ${CFLAGS} ${CDEFS} -I${LFT_DIR}${INCS_DIR} -I${MLX_DIR} -I${INCS_DIR} -o $@ $< -- cgit v1.2.3