diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -60,7 +60,6 @@ SRCS_NAME += ft_key_release.c SRCS_NAME += ft_convert_keycode.c SRCS_NAME += ft_key_loop.c SRCS_NAME += ft_draw_hud.c -SRCS_NAME += ft_draw_life_bar.c SRCS_NAME += ft_music.c #--------------------------------------------------------------------------------------------------# SRCS = $(addprefix ${SRCS_DIR},${SRCS_NAME}) @@ -74,11 +73,11 @@ LFT_SRCS = $(shell find libft/src -name "*.c") MKDIR = mkdir -p RM = rm -rf OS = $(shell uname) -USER = $(shell w | grep tty7 | awk '{print $$1}') 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-) else + USER = $(shell w | grep tty7 | awk '{print $$1}') SCR_SZE = $(shell xdpyinfo | grep dimensions | awk '{print $$2}') endif #==================================================================================================# |