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 /Makefile | |
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 '')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |