summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrrt <unknown>2000-07-21 08:45:05 +0000
committerrrt <unknown>2000-07-21 08:45:05 +0000
commita1fb838b37d207239c78bc628b498dec74eb934e (patch)
tree44aefd93a2165deab53eb2e9a2329671bc1aebe9
parent13c0d8a2c4c7f69290850af377a28843b4b3789d (diff)
downloadhaskell-a1fb838b37d207239c78bc628b498dec74eb934e.tar.gz
[project @ 2000-07-21 08:45:05 by rrt]
Make sure we *don't* try to make hsc_dll (as it will be identical to hsc).
-rw-r--r--ghc/compiler/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile
index f74ed8b282..a7caff020f 100644
--- a/ghc/compiler/Makefile
+++ b/ghc/compiler/Makefile
@@ -1,5 +1,5 @@
# -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.84 2000/07/17 11:15:08 simonmar Exp $
+# $Id: Makefile,v 1.85 2000/07/21 08:45:05 rrt Exp $
TOP = ..
include $(TOP)/mk/boilerplate.mk
@@ -17,7 +17,11 @@ WAYS=$(GhcCompilerWays)
# be to do ` env PATH=$(PATH) make hsc 'to minimise the environment. (or the
# equivalent of `env' if it doesn't exist locally).
#
+ifneq "$(way)" "dll"
HS_PROG=hsc$(_way)
+else
+HS_PROG=hsc
+endif
# -----------------------------------------------------------------------------