Add test of directory relative to which Make looks for included makefiles.
[mgear/mgear.git] / experiments / include1.mk
diff --git a/experiments/include1.mk b/experiments/include1.mk
new file mode 100644 (file)
index 0000000..7b5f3fb
--- /dev/null
@@ -0,0 +1,3 @@
+# Does Make include relative to the working directory or the containing
+# directory of the including makefile?
+include $(dir $(lastword $(MAKEFILE_LIST)))subdir/include2.mk