diff --git a/BSDmakefile b/BSDmakefile new file mode 100644 index 0000000000000000000000000000000000000000..de6fc9c4c993410aab18c9c8567b62bd1c9f684d --- /dev/null +++ b/BSDmakefile @@ -0,0 +1,11 @@ +# This is a convenience script for systems on which BSD make is the default, +# such that typing 'make' will do what people expect, instead of producing an +# error (due to incompatibilities between BSD make and GNU make). + +.include "makeopts" + +all:: + $(MAKE) + +$(.TARGETS):: + $(MAKE) $(.TARGETS) diff --git a/makeopts.in b/makeopts.in index 750a41d7c25a3599d57e8b27c84e480d7a8129fb..26809686810825c260576efc47217de6bd15e34a 100644 --- a/makeopts.in +++ b/makeopts.in @@ -12,6 +12,7 @@ AWK=@AWK@ BISON=@BISON@ FLEX=@FLEX@ GREP=@GREP@ +MAKE=@GNU_MAKE@ AR=@AR@ RANLIB=@RANLIB@ FIND=@FIND@