aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-02-23 00:42:45 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-02-23 00:43:01 +0100
commite5d2d2cc987eef01ba9f3024145ed9671563a952 (patch)
tree02624247e7429492cbb5569944f9e9a8ca6da90b
parentFixed 1px bug (diff)
download42-cub3d-e5d2d2cc987eef01ba9f3024145ed9671563a952.tar.gz
42-cub3d-e5d2d2cc987eef01ba9f3024145ed9671563a952.tar.bz2
42-cub3d-e5d2d2cc987eef01ba9f3024145ed9671563a952.tar.xz
42-cub3d-e5d2d2cc987eef01ba9f3024145ed9671563a952.tar.zst
42-cub3d-e5d2d2cc987eef01ba9f3024145ed9671563a952.zip
Less cringe name for opti flags
-rw-r--r--Makefile6
-rw-r--r--libft/Makefile2
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 748d5e2..6ed66b4 100644
--- a/Makefile
+++ b/Makefile
@@ -97,7 +97,7 @@ ifdef ASAN
CFLAGS += ${FSANITIZE}
endif
#--------------------------------------------------------------------------------------------------#
-ifdef POWER
+ifdef OPTI
CFLAGS += -march=ivybridge
CFLAGS += -O2
CFLAGS += -pipe
@@ -149,11 +149,11 @@ 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
+ @$(MAKE) --no-print-directory -C ${LFT_DIR} all OPTI=1
else
@$(MAKE) --no-print-directory -C ${LFT_DIR} all
endif
- @$(MAKE) ${NAME}
+ @$(MAKE) --no-print-directory ${NAME}
#--------------------------------------------------------------------------------------------------#
clean:
ifeq (${OS}, Darwin)
diff --git a/libft/Makefile b/libft/Makefile
index fce6434..0af47bb 100644
--- a/libft/Makefile
+++ b/libft/Makefile
@@ -127,7 +127,7 @@ ifdef ASAN
CFLAGS += ${FSANITIZE}
endif
#------------------------------------------------------------------------------#
-ifdef POWER
+ifdef OPTI
CFLAGS += -march=ivybridge
CFLAGS += -O2
CFLAGS += -pipe