Skip to content

Commit

Permalink
removed brew for mac os version, because cmake glfw and readline are …
Browse files Browse the repository at this point in the history
…now installed on mac os machines
  • Loading branch information
Alphacharge committed Aug 28, 2023
1 parent 74c2702 commit 3bb9e2b
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# By: rbetz <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2023/06/02 16:33:15 by rbetz #+# #+# #
# Updated: 2023/06/02 18:13:51 by rbetz ### ########.fr #
# Updated: 2023/08/28 14:22:12 by rbetz ### ########.fr #
# #
# **************************************************************************** #

Expand Down Expand Up @@ -106,16 +106,7 @@ endif
### ### COMPABILITY ### ###
#Mac Compability for our programm
ifeq ($(OS), Darwin)
ifeq ($(shell which brew), )
@echo -e "$(BLUE)Install brew ...$(WHITE)"
@/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
endif
ifeq ($(shell which cmake), )
@echo "$(BLUE)Install cmake and glfw...$(WHITE)"
@brew install -q cmake glfw
endif
BREW_D := $(shell which brew | cut -d'/' -f1-4)
LIB += -L $(BREW_D)/opt/glfw/lib -l glfw
LIB += -l glfw
endif

#Linux Compability for our programm
Expand Down

0 comments on commit 3bb9e2b

Please sign in to comment.