diff options
Diffstat (limited to '')
-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 |