From 4ae78583f731a3d8512693e80ccbcf522855312b Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 22 Feb 2020 23:59:26 +0100 Subject: Fixed map_three, Makefiles have POWERMODE --- libft/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libft/Makefile') 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 -------------------------------------# -- cgit v1.2.3