diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-02-22 23:59:26 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-02-22 23:59:26 +0100 |
commit | 4ae78583f731a3d8512693e80ccbcf522855312b (patch) | |
tree | ad49e2a498f7b98b52e0169eab5f2fe6504740cd /libft | |
parent | Smooth af (diff) | |
download | 42-cub3d-4ae78583f731a3d8512693e80ccbcf522855312b.tar.gz 42-cub3d-4ae78583f731a3d8512693e80ccbcf522855312b.tar.bz2 42-cub3d-4ae78583f731a3d8512693e80ccbcf522855312b.tar.xz 42-cub3d-4ae78583f731a3d8512693e80ccbcf522855312b.tar.zst 42-cub3d-4ae78583f731a3d8512693e80ccbcf522855312b.zip |
Fixed map_three, Makefiles have POWERMODE
Diffstat (limited to 'libft')
-rw-r--r-- | libft/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libft/Makefile b/libft/Makefile index aef5f5d..fce6434 100644 --- a/libft/Makefile +++ b/libft/Makefile @@ -115,16 +115,24 @@ DEBUG = -glldb FSANITIZE = -fsanitize=address #------------------------------------------------------------------------------# CC = clang +#------------------------------------------------------------------------------# CFLAGS = -std=c89 CFLAGS += -Wall CFLAGS += -Wextra CFLAGS += -Werror CFLAGS += -pedantic +#------------------------------------------------------------------------------# ifdef ASAN CFLAGS += ${DEBUG} CFLAGS += ${FSANITIZE} endif #------------------------------------------------------------------------------# +ifdef POWER + CFLAGS += -march=ivybridge + CFLAGS += -O2 + CFLAGS += -pipe +endif +#------------------------------------------------------------------------------# NAME = libft.a #==============================================================================# #-------------------------------- Library -------------------------------------# |