1
0
Fork 0

only print mac stuff on a mac

This commit is contained in:
Frank Celler 2017-01-05 17:32:19 +01:00
parent 3bc02b9aad
commit 0313f6ccad
1 changed files with 5 additions and 2 deletions

View File

@ -6,7 +6,7 @@
SRC=$(shell pwd |sed "s;.*/;;") SRC=$(shell pwd |sed "s;.*/;;")
.PHONY: warning help .PHONY: warning waning-mac help
warning: warning:
@echo "ArangoDB has switched to CMAKE. In order to compile, use:" @echo "ArangoDB has switched to CMAKE. In order to compile, use:"
@ -16,6 +16,10 @@ warning:
@echo " cmake .. -DCMAKE_BUILD_TYPE=Release" @echo " cmake .. -DCMAKE_BUILD_TYPE=Release"
@echo " make" @echo " make"
@echo "" @echo ""
@if test `uname` == 'Darwin'; then make warning-mac; fi
@echo "Use 'make help' to see more options."
warning-mac:
@echo "MacOS users:" @echo "MacOS users:"
@echo " Please use OPENSSL from homebrew and use" @echo " Please use OPENSSL from homebrew and use"
@echo "" @echo ""
@ -24,7 +28,6 @@ warning:
@echo " Note that some versions of Apple's clang have severe performance" @echo " Note that some versions of Apple's clang have severe performance"
@echo " issues. Use GCC5 from homebrew in this case." @echo " issues. Use GCC5 from homebrew in this case."
@echo "" @echo ""
@echo "Use 'make help' to see more options."
help: help:
@echo "The most common -D<options> are" @echo "The most common -D<options> are"