aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-09 18:49:09 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-09 18:49:09 +0100
commita096f3bc44d6df06b752e148a8cf33d9099700d1 (patch)
tree0f44433e4602f2534689a9313e830a6076f01055 /Makefile
parentScreenres ok (diff)
download42-cub3d-a096f3bc44d6df06b752e148a8cf33d9099700d1.tar.gz
42-cub3d-a096f3bc44d6df06b752e148a8cf33d9099700d1.tar.bz2
42-cub3d-a096f3bc44d6df06b752e148a8cf33d9099700d1.tar.xz
42-cub3d-a096f3bc44d6df06b752e148a8cf33d9099700d1.tar.zst
42-cub3d-a096f3bc44d6df06b752e148a8cf33d9099700d1.zip
Secured a segfault
Diffstat (limited to '')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index c2c325d..21e0f3f 100644
--- a/Makefile
+++ b/Makefile
@@ -51,8 +51,8 @@ MKDIR = mkdir -p
RM = rm -rf
OS = $(shell uname)
ifeq (${OS}, Darwin)
- SCR_SZE = "$(shell osascript -e 'tell application \"Finder\" to get bounds\
- of window of desktop' | tr ',' 'x' | tr -d '\n' | tr -d ' ' | cut -c 5-)"
+ SCR_SZE = $(shell osascript -e 'tell application "Finder" to get bounds\
+ of window of desktop' | tr ',' 'x' | tr -d '\n' | tr -d ' ' | cut -c 5-)
else
SCR_SZE = $(shell xdpyinfo | grep dimensions | awk '{print $$2}')
endif
@@ -106,12 +106,12 @@ all:
@exit
ifeq (${OS}, Darwin)
- @$(MAKE) --jobs 5 --no-print-directory -C ${MLX_DIR} all
+ @$(MAKE) --no-print-directory -C ${MLX_DIR} all
endif
ifdef ASAN
- @$(MAKE) --jobs 5 --no-print-directory -C ${LFT_DIR} all ASAN=1
+ @$(MAKE) --no-print-directory -C ${LFT_DIR} all ASAN=1
else
- @$(MAKE) --jobs 5 --no-print-directory -C ${LFT_DIR} all
+ @$(MAKE) --no-print-directory -C ${LFT_DIR} all
endif
@$(MAKE) ${NAME}
#------------------------------------------------------------------------------#