diff options
author | simonmar <unknown> | 2000-10-27 14:40:40 +0000 |
---|---|---|
committer | simonmar <unknown> | 2000-10-27 14:40:40 +0000 |
commit | 6a5551618d8480ed5d486956848abb884cbb276a (patch) | |
tree | 92df745c445a3a5d7705e48200538b505ca9a571 /ghc/compiler/Makefile | |
parent | 909442c800787b2d99f755139341df7bbe153974 (diff) | |
download | haskell-6a5551618d8480ed5d486956848abb884cbb276a.tar.gz |
[project @ 2000-10-27 14:40:40 by simonmar]
create ghc-inplace
Diffstat (limited to 'ghc/compiler/Makefile')
-rw-r--r-- | ghc/compiler/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index 7143701db2..9c807ef8c4 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.98 2000/10/27 11:48:54 sewardj Exp $ +# $Id: Makefile,v 1.99 2000/10/27 14:40:40 simonmar Exp $ TOP = .. include $(TOP)/mk/boilerplate.mk @@ -374,6 +374,19 @@ SRC_LD_OPTS += -syslib misc -syslib exts endif endif +# ----------------------------------------------------------------------------- +# create ghc-inplace, a convenient way to run ghc from the build tree... + +all :: ghc-inplace + +ghc-inplace : hsc + @$(RM) $@ + echo '#!/bin/sh' >>$@ + echo exec $(FPTOOLS_TOP_ABS)/ghc/compiler/hsc -B$(FPTOOLS_TOP_ABS) '"$$@"' >>$@ + chmod 755 $@ + +CLEAN_FILES += ghc-inplace + #----------------------------------------------------------------------------- # install |