summaryrefslogtreecommitdiffstats
path: root/build/pymake/tests/include-regen3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build/pymake/tests/include-regen3.mk')
-rw-r--r--build/pymake/tests/include-regen3.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/pymake/tests/include-regen3.mk b/build/pymake/tests/include-regen3.mk
new file mode 100644
index 000000000..878ce0adc
--- /dev/null
+++ b/build/pymake/tests/include-regen3.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" > $@