diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-14 16:01:02 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-14 16:01:02 +0200 |
commit | 0bd2099bd02bf207bfeee571607efa7dfa624d65 (patch) | |
tree | 447785702a1999e2c43caa0bc1179bfaffde276d /Makefile | |
parent | Done (diff) | |
download | 42-cub3d-0bd2099bd02bf207bfeee571607efa7dfa624d65.tar.gz 42-cub3d-0bd2099bd02bf207bfeee571607efa7dfa624d65.tar.bz2 42-cub3d-0bd2099bd02bf207bfeee571607efa7dfa624d65.tar.xz 42-cub3d-0bd2099bd02bf207bfeee571607efa7dfa624d65.tar.zst 42-cub3d-0bd2099bd02bf207bfeee571607efa7dfa624d65.zip |
Back to GCC for correction
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -159,10 +159,18 @@ endif #==================================================================================================# #------------------------------------------ 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 |