aboutsummaryrefslogtreecommitdiffstats
path: root/libft
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-15 17:25:27 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-15 17:25:27 +0100
commit842613f64e4e4cb5b1e138cb0e9e4ccbba0a3a24 (patch)
treefa3894a02efd5cd730b6f395ae01ff82bdaf65e7 /libft
parentEdited sounds, bug fix (diff)
parentBack to the GNU C Compiler, tweaked move speed (diff)
download42-cub3d-842613f64e4e4cb5b1e138cb0e9e4ccbba0a3a24.tar.gz
42-cub3d-842613f64e4e4cb5b1e138cb0e9e4ccbba0a3a24.tar.bz2
42-cub3d-842613f64e4e4cb5b1e138cb0e9e4ccbba0a3a24.tar.xz
42-cub3d-842613f64e4e4cb5b1e138cb0e9e4ccbba0a3a24.tar.zst
42-cub3d-842613f64e4e4cb5b1e138cb0e9e4ccbba0a3a24.zip
Merge branch 'master' into back-to-pthread
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