mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 06:38:42 +00:00
build: use $(MAKE) to represent make executable
Prior to this commit, our Makefiles assumed the name of the make program was simply "make". Since we use GNU make extensions, this isn't always the case -- operating systems like FreeBSD come with their own implementation named make which can be incompatible with the extensions used in by tinygo. To run a compatible make on some of these systems, we have explicitly call GNU make by running gmake. This commit changes references to the command "make" to "$(MAKE)" which is a variable that contains the name of the executable invoked to process the Makefile. This allow the Makefiles to be uniformly processed by the same make program.
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
||||
|
||||
.PHONY: help
|
||||
help:
|
||||
@echo "Please use \`make <target>' where <target> is one of"
|
||||
@echo "Please use \`$(MAKE) <target>' where <target> is one of"
|
||||
@echo " html to make standalone HTML files"
|
||||
@echo " dirhtml to make HTML files named index.html in directories"
|
||||
@echo " singlehtml to make a single large HTML file"
|
||||
|
||||
Reference in New Issue
Block a user