Use our own (Haskell) pwd to find the tree root
[ghc-hetmet.git] / utils / pwd / Makefile
diff --git a/utils/pwd/Makefile b/utils/pwd/Makefile
new file mode 100644 (file)
index 0000000..326c707
--- /dev/null
@@ -0,0 +1,18 @@
+
+# We don't include any of the boilerplate Makefiles as we are used
+# by configure. GHC should be overridden on the command line to the
+# GHC that you want to use.
+
+GHC=ghc
+
+.PHONY: all clean
+
+all:
+       $(GHC) --make pwd
+
+clean:
+       rm -f *.o
+       rm -f *.hi
+       rm -f pwd
+       rm -f pwd.exe
+