aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9332243..646ef0b 100644
--- a/Makefile
+++ b/Makefile
@@ -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
#==================================================================================================#