mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Emit error and GNU Make directions when compiled with BSD Make
On BSD platforms, a BSD-specific BSDmakefile is searched for and used before any generic Makefile. We can use this to emit an informational message directing the user to use GNU Make instead of relying on the user's recognizing of random build failures on syntax errors as a sign to switch to GNU Make. (Random fact: this same trick also applies to GNU Make, which searches for a GNUmakefile before using Makefile)
This commit is contained in:
parent
864a1893bc
commit
5b61829a33
1 changed files with 3 additions and 0 deletions
3
BSDmakefile
Normal file
3
BSDmakefile
Normal file
|
@ -0,0 +1,3 @@
|
|||
all:
|
||||
@echo "Error: BSD Make not supported"
|
||||
@echo "Please use GNU Make (gmake) to build fish. Refer to README.md for detailed build instructions."
|
Loading…
Reference in a new issue