diff options
author | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-02-09 18:24:54 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-02-09 18:24:54 +0100 |
commit | bb1b197934bd9bcfa15d853dd99141d0edc1c16c (patch) | |
tree | e5850ea32f61f0e7211c01ad956938d4ce0f6feb /Makefile | |
parent | in progress (diff) | |
download | 42-cub3d-bb1b197934bd9bcfa15d853dd99141d0edc1c16c.tar.gz 42-cub3d-bb1b197934bd9bcfa15d853dd99141d0edc1c16c.tar.bz2 42-cub3d-bb1b197934bd9bcfa15d853dd99141d0edc1c16c.tar.xz 42-cub3d-bb1b197934bd9bcfa15d853dd99141d0edc1c16c.tar.zst 42-cub3d-bb1b197934bd9bcfa15d853dd99141d0edc1c16c.zip |
Screenres ok
Diffstat (limited to '')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -51,7 +51,8 @@ MKDIR = mkdir -p RM = rm -rf OS = $(shell uname) ifeq (${OS}, Darwin) - SCR_SZE = 1980x1024 + 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 @@ -100,6 +101,10 @@ else endif #------------------------------------------------------------------------------# all: + @printf "%s\n" ${SCR_SZE} + @printf "%s\n" ${CFLAGS} + @exit + ifeq (${OS}, Darwin) @$(MAKE) --jobs 5 --no-print-directory -C ${MLX_DIR} all endif |