diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-15 17:31:09 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-15 17:31:09 +0100 |
commit | 0e6ae2cac2cef86051e80c613fad5edb4bbc976b (patch) | |
tree | 1d5745e545531e5b53dea305bd92fef43b6966a6 | |
parent | Back to the GNU C Compiler, tweaked move speed (diff) | |
download | 42-cub3d-0e6ae2cac2cef86051e80c613fad5edb4bbc976b.tar.gz 42-cub3d-0e6ae2cac2cef86051e80c613fad5edb4bbc976b.tar.bz2 42-cub3d-0e6ae2cac2cef86051e80c613fad5edb4bbc976b.tar.xz 42-cub3d-0e6ae2cac2cef86051e80c613fad5edb4bbc976b.tar.zst 42-cub3d-0e6ae2cac2cef86051e80c613fad5edb4bbc976b.zip |
Better Makefiles
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | libft/Makefile | 6 |
2 files changed, 10 insertions, 2 deletions
@@ -119,7 +119,11 @@ endif #==================================================================================================# #------------------------------------------ Compiler ----------------------------------------------# #==================================================================================================# -DEBUG = -glldb +ifeq (${OS}, Darwin) + DEBUG = -glldb +else + DEBUG = -ggdb +endif FSANITIZE = -fsanitize=address #--------------------------------------------------------------------------------------------------# ifeq (${OS}, Darwin) diff --git a/libft/Makefile b/libft/Makefile index 502c38a..0c61d4d 100644 --- a/libft/Makefile +++ b/libft/Makefile @@ -118,7 +118,11 @@ OS = $(shell uname) #==============================================================================# #-------------------------------- Compiler ------------------------------------# #==============================================================================# -DEBUG = -glldb +ifeq (${OS}, Darwin) + DEBUG = -glldb +else + DEBUG = -ggdb +endif FSANITIZE = -fsanitize=address #------------------------------------------------------------------------------# ifeq (${OS}, Darwin) |