aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-03-09 20:42:04 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-03-09 20:42:04 +0100
commit35a7b48f99b64ddbd23eb1a264df7ea453b3f9a4 (patch)
treef7c16c9e2d31a1c6c81e82df96f9c68769c16ae9 /Makefile
parentin progress (diff)
download42-cub3d-35a7b48f99b64ddbd23eb1a264df7ea453b3f9a4.tar.gz
42-cub3d-35a7b48f99b64ddbd23eb1a264df7ea453b3f9a4.tar.bz2
42-cub3d-35a7b48f99b64ddbd23eb1a264df7ea453b3f9a4.tar.xz
42-cub3d-35a7b48f99b64ddbd23eb1a264df7ea453b3f9a4.tar.zst
42-cub3d-35a7b48f99b64ddbd23eb1a264df7ea453b3f9a4.zip
In progress, Makefile was bav back then
Diffstat (limited to '')
-rw-r--r--Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f8fb71e..9fc6143 100644
--- a/Makefile
+++ b/Makefile
@@ -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
@@ -101,10 +102,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