From 99a379d1f0bf4c6588ba18cef0d528749b4288ba Mon Sep 17 00:00:00 2001 From: kramm Date: Sat, 22 Feb 2003 22:09:27 +0000 Subject: [PATCH] pmake detection. --- Makefile.in | 2 ++ m4/Makefile | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 m4/Makefile diff --git a/Makefile.in b/Makefile.in index 9a61c95..758b997 100644 --- a/Makefile.in +++ b/Makefile.in @@ -4,6 +4,8 @@ top_srcdir = @top_srcdir@ include ./Makefile.common all install uninstall clean: + @echo making $@ in m4... + cd m4;$(MAKE) $@ @echo making $@ in lib... cd lib;$(MAKE) $@ @echo making $@ in src... diff --git a/m4/Makefile b/m4/Makefile new file mode 100644 index 0000000..3574fd4 --- /dev/null +++ b/m4/Makefile @@ -0,0 +1,23 @@ +# simple pmake detecting Makefile + +all: clear test.o +clean: all +install: all + +CC=@echo "*******************************************************";\ + echo "Your make is broken- try to get yourself a working one.";\ + echo "gmake 3.79.1 or newer should be fine. ";\ + echo "*******************************************************";\ + exit 1;exec >/dev/null;echo + +clear: + @rm -f test.c + +%.o: %.c + +test.c: + @touch test.c + +test.o: test.c + +.SUFFIXES: .o .cpp -- 1.7.10.4