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 --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2c2443d..91985bb 100644 --- a/Makefile +++ b/Makefile @@ -97,6 +97,12 @@ ifdef ASAN CFLAGS += ${FSANITIZE} endif #--------------------------------------------------------------------------------------------------# +ifdef POWER + CFLAGS += -march=ivybridge + CFLAGS += -O2 + CFLAGS += -pipe +endif +#--------------------------------------------------------------------------------------------------# CDEFS = -DFT_SCR_SIZE=\"${SCR_SZE}\" ifneq (${OS}, Darwin) CDEFS += -DFT_W_KEY=119 @@ -140,6 +146,9 @@ ifeq (${OS}, Darwin) endif ifdef ASAN @$(MAKE) --no-print-directory -C ${LFT_DIR} all ASAN=1 +endif +ifdef POWER + @$(MAKE) --no-print-directory -C ${LFT_DIR} all POWER=1 else @$(MAKE) --no-print-directory -C ${LFT_DIR} all endif -- cgit v1.2.3