[project @ 1999-12-07 15:49:52 by simonmar]
[ghc-hetmet.git] / ghc / lib / std / Makefile
index 83d790e..d109fba 100644 (file)
@@ -18,18 +18,14 @@ else
 SUBDIRS=
 endif
 
-HC = $(GHC)
+HC = $(GHC_INPLACE)
 
 #-----------------------------------------------------------------------------
 #      Setting the standard variables
 #
 
 LIBRARY = libHS$(_way).a
-HS_SRCS = $(wildcard *.lhs)
-HS_OBJS = $(HS_SRCS:.lhs=.$(way_)o)
 LIBOBJS = $(HS_OBJS)
-HS_IFACES= $(HS_SRCS:.lhs=.$(way_)hi) PrelGHC.$(way_)hi
-
 
 #-----------------------------------------------------------------------------
 #      Setting the GHC compile options
@@ -140,6 +136,6 @@ INSTALL_PROGS += $(DLL_NAME)
 INSTALL_LIBS  += $(patsubst %.a, %_imp.a, $(LIBRARY)) PrelMain.dll_o
 INSTALL_DATAS += dLL_ifs.hi
 endif
-INSTALL_DATAS += $(HS_IFACES)
+INSTALL_DATAS += $(HS_IFACES) PrelGHC.$(way_)hi
 
 include $(TOP)/mk/target.mk