summaryrefslogtreecommitdiff
path: root/utils/hsc2hs/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'utils/hsc2hs/Makefile.inc')
-rw-r--r--utils/hsc2hs/Makefile.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/hsc2hs/Makefile.inc b/utils/hsc2hs/Makefile.inc
new file mode 100644
index 0000000000..91ac818437
--- /dev/null
+++ b/utils/hsc2hs/Makefile.inc
@@ -0,0 +1,7 @@
+ifeq "" "${MKDIR}"
+MKDIR:=$(shell pwd)
+#MKDIR:=$(PWD)
+else
+MKDIR:=$(patsubst %/$(notdir ${MKDIR}),%, ${MKDIR})
+endif
+include ${MKDIR}/Makefile.inc