aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-11 22:21:03 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-11 22:21:03 +0100
commitf59d1737be4616965a8360f6843d679d195bef71 (patch)
treed15df462787e998c3a70114b009ad0aa34cd6664
parentgood mapping (diff)
download42-cub3d-f59d1737be4616965a8360f6843d679d195bef71.tar.gz
42-cub3d-f59d1737be4616965a8360f6843d679d195bef71.tar.bz2
42-cub3d-f59d1737be4616965a8360f6843d679d195bef71.tar.xz
42-cub3d-f59d1737be4616965a8360f6843d679d195bef71.tar.zst
42-cub3d-f59d1737be4616965a8360f6843d679d195bef71.zip
Clang is cool anyway
-rw-r--r--Makefile12
-rw-r--r--libft/Makefile12
2 files changed, 4 insertions, 20 deletions
diff --git a/Makefile b/Makefile
index 133577e..a32a33b 100644
--- a/Makefile
+++ b/Makefile
@@ -114,18 +114,10 @@ endif
#==================================================================================================#
#------------------------------------------ Compiler ----------------------------------------------#
#==================================================================================================#
-ifeq (${OS}, Darwin)
- DEBUG = -glldb
-else
- DEBUG = -ggdb
-endif
+DEBUG = -glldb
FSANITIZE = -fsanitize=address
#--------------------------------------------------------------------------------------------------#
-ifeq (${OS}, Darwin)
- CC = clang
-else
- CC = gcc
-endif
+CC = clang
#--------------------------------------------------------------------------------------------------#
CFLAGS = -std=c89
CFLAGS += -Wall
diff --git a/libft/Makefile b/libft/Makefile
index 1f93f13..d2053ee 100644
--- a/libft/Makefile
+++ b/libft/Makefile
@@ -119,18 +119,10 @@ USER = $(shell w | grep tty7 | awk '{print $$1}')
#==============================================================================#
#-------------------------------- Compiler ------------------------------------#
#==============================================================================#
-ifeq (${OS}, Darwin)
- DEBUG = -glldb
-else
- DEBUG = -ggdb
-endif
+DEBUG = -glldb
FSANITIZE = -fsanitize=address
#------------------------------------------------------------------------------#
-ifeq (${OS}, Darwin)
- CC = clang
-else
- CC = gcc
-endif
+CC = clang
#------------------------------------------------------------------------------#
CFLAGS = -std=c89
CFLAGS += -Wall