diff options
author | Rudy Bousset <rbousset@z3r8p1.le-101.fr> | 2020-02-13 17:18:47 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z3r8p1.le-101.fr> | 2020-02-13 17:18:47 +0100 |
commit | 51f58c3e656012c745b9e95daf169327542748e5 (patch) | |
tree | 9d3f98fc53d22a886e780ebbaea070ed67ebf9ed /Makefile | |
parent | Bug fixes (diff) | |
download | 42-cub3d-51f58c3e656012c745b9e95daf169327542748e5.tar.gz 42-cub3d-51f58c3e656012c745b9e95daf169327542748e5.tar.bz2 42-cub3d-51f58c3e656012c745b9e95daf169327542748e5.tar.xz 42-cub3d-51f58c3e656012c745b9e95daf169327542748e5.tar.zst 42-cub3d-51f58c3e656012c745b9e95daf169327542748e5.zip |
does not compile but new header for structs
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 $@ $< |