projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Documentation only: update External Core section of user guide
[ghc-hetmet.git]
/
utils
/
pwd
/
Makefile
diff --git
a/utils/pwd/Makefile
b/utils/pwd/Makefile
index
326c707
..
f8fea45
100644
(file)
--- a/
utils/pwd/Makefile
+++ b/
utils/pwd/Makefile
@@
-1,18
+1,11
@@
+TOP=../..
+include $(TOP)/mk/boilerplate.mk
-# 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.
+HS_PROG=pwd
-GHC=ghc
-
-.PHONY: all clean
-
-all:
- $(GHC) --make pwd
-
-clean:
- rm -f *.o
- rm -f *.hi
- rm -f pwd
- rm -f pwd.exe
+binary-dist:
+ $(INSTALL_DIR) $(BIN_DIST_DIR)/utils/pwd
+ $(INSTALL_DATA) Makefile $(BIN_DIST_DIR)/utils/pwd/
+ $(INSTALL_PROGRAM) pwd$(exeext) $(BIN_DIST_DIR)/utils/pwd/
+include $(TOP)/mk/target.mk