]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Silly convenience script for BSD platforms.
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 6 Sep 2010 06:54:18 +0000 (06:54 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 6 Sep 2010 06:54:18 +0000 (06:54 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@285088 65c4cc65-6c06-0410-ace0-fbb531ad65f3

BSDmakefile [new file with mode: 0644]
makeopts.in

diff --git a/BSDmakefile b/BSDmakefile
new file mode 100644 (file)
index 0000000..de6fc9c
--- /dev/null
@@ -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)
index 7a439c6498b361301b3c587252cbe0deb76c2ee5..ca3fd3267ee3747bafc321fc42eaa4106d4bd558 100644 (file)
@@ -12,6 +12,7 @@ AWK=@AWK@
 BISON=@BISON@
 FLEX=@FLEX@
 GREP=@GREP@
+MAKE=@GNU_MAKE@
 AR=@AR@
 RANLIB=@RANLIB@
 FIND=@FIND@