aboutsummaryrefslogtreecommitdiffstats
path: root/libft/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-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