From 9e2486ed29a464d5ecbb27d02cb6dd71715356bb Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 15 Mar 2020 17:22:05 +0100 Subject: Back to the GNU C Compiler, tweaked move speed --- libft/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libft') 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 -- cgit v1.2.3