aboutsummaryrefslogtreecommitdiffstats
path: root/libft
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-15 17:22:05 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-15 17:22:05 +0100
commit9e2486ed29a464d5ecbb27d02cb6dd71715356bb (patch)
treea19b352d5c45e72859b95c028cb52c0a721cae53 /libft
parentGNU libx (diff)
download42-cub3d-9e2486ed29a464d5ecbb27d02cb6dd71715356bb.tar.gz
42-cub3d-9e2486ed29a464d5ecbb27d02cb6dd71715356bb.tar.bz2
42-cub3d-9e2486ed29a464d5ecbb27d02cb6dd71715356bb.tar.xz
42-cub3d-9e2486ed29a464d5ecbb27d02cb6dd71715356bb.tar.zst
42-cub3d-9e2486ed29a464d5ecbb27d02cb6dd71715356bb.zip
Back to the GNU C Compiler, tweaked move speed
Diffstat (limited to 'libft')
-rw-r--r--libft/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/libft/Makefile b/libft/Makefile
index fe25355..502c38a 100644
--- a/libft/Makefile
+++ b/libft/Makefile
@@ -121,7 +121,11 @@ OS = $(shell uname)
DEBUG = -glldb
FSANITIZE = -fsanitize=address
#------------------------------------------------------------------------------#
-CC = clang
+ifeq (${OS}, Darwin)
+ CC = clang
+else
+ CC = gcc
+endif
#------------------------------------------------------------------------------#
CFLAGS = -std=c89
CFLAGS += -Wall