pmake detection.
[swftools.git] / m4 / Makefile
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