From 0653aeef5d8dd8653af4f8911e4d9113b0217151 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Mon, 6 Sep 2010 06:54:18 +0000 Subject: [PATCH] Silly convenience script for BSD platforms. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@285088 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- BSDmakefile | 11 +++++++++++ makeopts.in | 1 + 2 files changed, 12 insertions(+) create mode 100644 BSDmakefile diff --git a/BSDmakefile b/BSDmakefile new file mode 100644 index 0000000000..de6fc9c4c9 --- /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 7a439c6498..ca3fd3267e 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@