From: Peter Verthez Date: Sun, 13 Oct 2002 16:31:30 +0000 (+0000) Subject: Give a warning if make is not GNU make. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=648201ba311f7a945f51249ec3aaca0867b012ab;p=gedcom-parse.git Give a warning if make is not GNU make. --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..46e7b69 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +# $Id$ +# $Name$ +all: + @if test -r GNUmakefile; then \ + echo Sorry, GNU make is required; \ + case `gmake --version 2>/dev/null` in \ + *GNU*) echo Try again with 'gmake' ;; \ + esac; \ + else \ + echo Please run ./configure first; \ + fi