X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Fpwd%2FMakefile;h=f8fea4542a2b74b55b9c6dc30164f946c95966d4;hb=d759c7231dde979ed2824bd39b2fdff24357d355;hp=326c7076419d9477fba565d5aa9b31a8b04d3853;hpb=068bf75eeee553c7f2cb06b8d84bdff58677c319;p=ghc-hetmet.git diff --git a/utils/pwd/Makefile b/utils/pwd/Makefile index 326c707..f8fea45 100644 --- 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