diff options
author | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-02-09 18:49:09 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-02-09 18:49:09 +0100 |
commit | a096f3bc44d6df06b752e148a8cf33d9099700d1 (patch) | |
tree | 0f44433e4602f2534689a9313e830a6076f01055 /Makefile | |
parent | Screenres ok (diff) | |
download | 42-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-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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} #------------------------------------------------------------------------------# |