[project @ 1997-03-17 20:34:25 by simonpj]
[ghc-hetmet.git] / ghc / lib / Makefile.libHS
index e4bbbe8..13ff46d 100644 (file)
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# $Id: Makefile.libHS,v 1.8 1997/01/21 22:56:20 sof Exp $
+# $Id: Makefile.libHS,v 1.11 1997/03/14 05:31:07 sof Exp $
 
 TOP = ../..
 include $(TOP)/ghc/mk/ghc.mk
@@ -109,7 +109,7 @@ concurrent/Concurrent_flags = -iconcurrent
 # Depend and install stuff
 
 # temp soln until ghcconfig.mk leaves 1.2 behind.
-MKDEPENDHS = $(LIB_GHC) -M
+MKDEPENDHS = $(GHC) $(GHCFLAGS) -M
 
 MKDEPENDHS_OPTS += -I$(GHC_INCLUDES)
 MKDEPENDHS_OPTS += -irequired:ghc:hbc:glaExts:concurrent
@@ -117,7 +117,7 @@ MKDEPENDHS_OPTS += $(foreach way,$(filter-out norm, $(WAY_SUFFIXES)),-optdep-s -
 
 # Todo: make this a generic include of hsdepend.mk or something.
 depend :: $(SRCS)
-       $(MKDEPENDHS) $(MKDEPENDHSFLAGS) -optdep-f -optdep.depend $(GHCFLAGS) $(SRCS)
+       $(MKDEPENDHS) $(MKDEPENDHSFLAGS) -optdep"-f .depend" $(GHCFLAGS) $(SRCS)
 
 # Copy the crucial IOBase hi file over
 hiboot ::