summaryrefslogtreecommitdiffstats
path: root/build/pymake/tests/specified-target.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build/pymake/tests/specified-target.mk')
-rw-r--r--build/pymake/tests/specified-target.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/pymake/tests/specified-target.mk b/build/pymake/tests/specified-target.mk
new file mode 100644
index 000000000..3b23fbf69
--- /dev/null
+++ b/build/pymake/tests/specified-target.mk
@@ -0,0 +1,7 @@
+#T commandline: ['VAR=all', '$(VAR)']
+
+all:
+ @echo TEST-FAIL: unexpected target 'all'
+
+$$(VAR):
+ @echo TEST-PASS: expected target '$$(VAR)'