summaryrefslogtreecommitdiffstats
path: root/build/pymake/tests/include-regen.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build/pymake/tests/include-regen.mk')
-rw-r--r--build/pymake/tests/include-regen.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/pymake/tests/include-regen.mk b/build/pymake/tests/include-regen.mk
new file mode 100644
index 000000000..c86e0c78d
--- /dev/null
+++ b/build/pymake/tests/include-regen.mk
@@ -0,0 +1,10 @@
+# avoid infinite loops by not remaking makefiles with
+# double-colon no-dependency rules
+# http://www.gnu.org/software/make/manual/make.html#Remaking-Makefiles
+-include notfound.mk
+
+all:
+ @echo TEST-PASS
+
+notfound.mk::
+ @echo TEST-FAIL