From 6fff70fddeae8b73d9fce53d961fec019a52d44e Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 6 Feb 2020 18:35:48 +0100 Subject: xdpyinfo works on Linux --- Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 47f9dbb..bd60aa5 100644 --- a/Makefile +++ b/Makefile @@ -61,9 +61,9 @@ DEBUG = -glldb FSANITIZE = -fsanitize=address #------------------------------------------------------------------------------# ifeq (${OS}, Darwin) -NAME = cub3d + NAME = cub3d else -NAME = a.out + NAME = a.out endif #==============================================================================# #--------------------------------- UNIX ---------------------------------------# @@ -71,9 +71,7 @@ endif MKDIR = mkdir -p RM = rm -rf OS = $(shell uname) -ifeq (${OS}, Darwin) - SCR_SZE = $(shell xdpyinfo | grep dimensions | awk '{print $$2}') -endif +SCR_SZE = $(shell xdpyinfo | grep dimensions | awk '{print $$2}') #==============================================================================# #--------------------------------- Rules --------------------------------------# #==============================================================================# -- cgit v1.2.3