-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed brew for mac os version, because cmake glfw and readline are …
…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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 # | ||
# # | ||
# **************************************************************************** # | ||
|
||
|
@@ -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 | ||
|