diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 8 insertions, 11 deletions
@@ -60,7 +60,7 @@ SRCS_NAME += ft_draw_scene.c SRCS_NAME += ft_draw_skybox.c SRCS_NAME += ft_basic_keys.c SRCS_NAME += ft_extra_keys.c -SRCS_NAME += ft_draw_verline.c +SRCS_NAME += ft_wall_cast.c SRCS_NAME += ft_rgb_to_hex.c SRCS_NAME += ft_hex_to_rgb.c SRCS_NAME += ft_raycasting.c @@ -129,6 +129,11 @@ SRCS_NAME += ft_draw_map_back.c SRCS_NAME += ft_draw_ammo_back.c SRCS_NAME += ft_draw_ammo_bar.c SRCS_NAME += ft_shoot.c +SRCS_NAME += ft_hud_threads.c +SRCS_NAME += ft_hud_threads_next.c +SRCS_NAME += ft_wall_threads.c +SRCS_NAME += ft_floor_threads.c +SRCS_NAME += ft_castray_loop.c SRCS_NAME += ft_sort_s_t.c #--------------------------------------------------------------------------------------------------# SRCS = $(addprefix ${SRCS_DIR},${SRCS_NAME}) @@ -152,18 +157,10 @@ endif #==================================================================================================# #------------------------------------------ Compiler ----------------------------------------------# #==================================================================================================# -ifeq (${OS}, Darwin) - DBG = -glldb -else - DBG = -ggdb -endif +DBG = -glldb FSANITIZE = -fsanitize=address #--------------------------------------------------------------------------------------------------# -ifeq (${OS}, Darwin) - CC = clang -else - CC = gcc -endif +CC = clang #--------------------------------------------------------------------------------------------------# CFLAGS = -std=c89 CFLAGS += -Wall |