Skip to content
Snippets Groups Projects
Commit 6a555161 authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 2000-10-27 14:40:40 by simonmar]

create ghc-inplace
parent 909442c8
No related merge requests found
# -----------------------------------------------------------------------------
# $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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment