From 84ac504edbe27a56018b77fd93f289b90b1d8bdc Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 14 Apr 2020 17:04:05 +0200 Subject: Fixed bad boys collision, reroll if hit a wall --- libft/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'libft') diff --git a/libft/Makefile b/libft/Makefile index 8ad24a7..2bd6342 100644 --- a/libft/Makefile +++ b/libft/Makefile @@ -118,10 +118,18 @@ OS = $(shell uname) #==============================================================================# #-------------------------------- Compiler ------------------------------------# #==============================================================================# -DBG = -glldb +ifeq (${OS}, Linux) + DBG = -ggdb +else + DBG = -glldb +endif FSANITIZE = -fsanitize=address #------------------------------------------------------------------------------# -CC = clang +ifeq (${OS}, Linux) + CC = gcc +else + CC = clang +endif #------------------------------------------------------------------------------# CFLAGS = -std=c89 CFLAGS += -Wall -- cgit v1.2.3