pmake detection.
authorkramm <kramm>
Sat, 22 Feb 2003 22:09:27 +0000 (22:09 +0000)
committerkramm <kramm>
Sat, 22 Feb 2003 22:09:27 +0000 (22:09 +0000)
Makefile.in
m4/Makefile [new file with mode: 0644]

index 9a61c95..758b997 100644 (file)
@@ -4,6 +4,8 @@ top_srcdir = @top_srcdir@
 include ./Makefile.common
 
 all install uninstall clean:
 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...
        @echo making $@ in lib...
        cd lib;$(MAKE) $@
        @echo making $@ in src...
diff --git a/m4/Makefile b/m4/Makefile
new file mode 100644 (file)
index 0000000..3574fd4
--- /dev/null
@@ -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