summaryrefslogtreecommitdiffstats
path: root/build/pymake/tests/include-regen2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build/pymake/tests/include-regen2.mk')
-rw-r--r--build/pymake/tests/include-regen2.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/pymake/tests/include-regen2.mk b/build/pymake/tests/include-regen2.mk
new file mode 100644
index 000000000..fc7fef073
--- /dev/null
+++ b/build/pymake/tests/include-regen2.mk
@@ -0,0 +1,10 @@
+# make should make makefiles that it has rules for if they are
+# included
+include test.mk
+
+all:
+ test "$(X)" = "1"
+ @echo "TEST-PASS"
+
+test.mk:
+ @echo "X = 1" > $@