diff options
author | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-03-09 23:08:39 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-03-09 23:08:39 +0100 |
commit | a4eae07949127cbdfa9030ad086c1d0edfa8e1f5 (patch) | |
tree | 419651274887318990adb6e434d5f5bcfb835340 /Makefile | |
parent | gang_2 (diff) | |
parent | Map update (diff) | |
download | 42-cub3d-a4eae07949127cbdfa9030ad086c1d0edfa8e1f5.tar.gz 42-cub3d-a4eae07949127cbdfa9030ad086c1d0edfa8e1f5.tar.bz2 42-cub3d-a4eae07949127cbdfa9030ad086c1d0edfa8e1f5.tar.xz 42-cub3d-a4eae07949127cbdfa9030ad086c1d0edfa8e1f5.tar.zst 42-cub3d-a4eae07949127cbdfa9030ad086c1d0edfa8e1f5.zip |
Merge branch 'skybox'
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -38,6 +38,7 @@ SRCS_NAME += ft_get_tex_nl.c SRCS_NAME += ft_get_tex_extra.c SRCS_NAME += ft_get_path_nl.c SRCS_NAME += ft_get_nlvl_pos.c +SRCS_NAME += ft_get_skybox.c SRCS_NAME += ft_get_player_spawn.c SRCS_NAME += ft_get_music.c SRCS_NAME += ft_get_darkness.c @@ -53,6 +54,7 @@ SRCS_NAME += ft_draw_square.c SRCS_NAME += ft_draw_circle.c SRCS_NAME += ft_draw_map.c 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 @@ -101,10 +103,18 @@ endif #==================================================================================================# #------------------------------------------ Compiler ----------------------------------------------# #==================================================================================================# -DEBUG = -glldb +ifeq (${OS}, Darwin) + DEBUG = -glldb +else + DEBUG = -ggdb +endif FSANITIZE = -fsanitize=address #--------------------------------------------------------------------------------------------------# -CC = clang +ifeq (${OS}, Darwin) + CC = clang +else + CC = gcc +endif #--------------------------------------------------------------------------------------------------# CFLAGS = -std=c89 CFLAGS += -Wall |