aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-14 16:01:02 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-14 16:01:02 +0200
commit0bd2099bd02bf207bfeee571607efa7dfa624d65 (patch)
tree447785702a1999e2c43caa0bc1179bfaffde276d
parentDone (diff)
download42-cub3d-0bd2099bd02bf207bfeee571607efa7dfa624d65.tar.gz
42-cub3d-0bd2099bd02bf207bfeee571607efa7dfa624d65.tar.bz2
42-cub3d-0bd2099bd02bf207bfeee571607efa7dfa624d65.tar.xz
42-cub3d-0bd2099bd02bf207bfeee571607efa7dfa624d65.tar.zst
42-cub3d-0bd2099bd02bf207bfeee571607efa7dfa624d65.zip
Back to GCC for correction
Diffstat (limited to '')
-rw-r--r--Makefile12
-rw-r--r--map/map_seven.cub6
2 files changed, 13 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 059ac29..730d8d5 100644
--- a/Makefile
+++ b/Makefile
@@ -159,10 +159,18 @@ endif
#==================================================================================================#
#------------------------------------------ Compiler ----------------------------------------------#
#==================================================================================================#
-DBG = -glldb
+ifeq (${OS}, Linux)
+ DBG = -ggdb
+else
+ DBG = -glldb
+endif
FSANITIZE = -fsanitize=address
#--------------------------------------------------------------------------------------------------#
-CC = clang
+ifeq (${OS}, Linux)
+ CC = gcc
+else
+ CC = clang
+endif
#--------------------------------------------------------------------------------------------------#
CFLAGS = -std=c89
CFLAGS += -Wall
diff --git a/map/map_seven.cub b/map/map_seven.cub
index 4c5fad3..9b69059 100644
--- a/map/map_seven.cub
+++ b/map/map_seven.cub
@@ -17,10 +17,10 @@ C 150,150,150
1000000000000000001
1000000000000000001
1000000000000000001
+1000000011100000001
+100000001e100000001
+1000000011100000001
1000000000000000001
-100000000e000000001
-1000000000000000001
-1000000001000000001
1000000000000000001
1000000!@#000000001
1000000000000000001