aboutsummaryrefslogtreecommitdiff
path: root/iconfig.mk
diff options
context:
space:
mode:
Diffstat (limited to 'iconfig.mk')
-rw-r--r--iconfig.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/iconfig.mk b/iconfig.mk
new file mode 100644
index 0000000..465e02e
--- /dev/null
+++ b/iconfig.mk
@@ -0,0 +1,7 @@
+# Nasty hack so that make clean works without configure being run
+# Requires gmake4
+TOP?= .
+_CONFIG_MK!= test -e ${TOP}/config.mk && \
+ echo config.mk || echo config-null.mk
+CONFIG_MK?= ${_CONFIG_MK}
+include ${TOP}/${CONFIG_MK}