[project @ 2000-02-14 11:15:09 by sewardj]
authorsewardj <unknown>
Mon, 14 Feb 2000 11:15:09 +0000 (11:15 +0000)
committersewardj <unknown>
Mon, 14 Feb 2000 11:15:09 +0000 (11:15 +0000)
wibble

ghc/interpreter/Makefile

index e7b29bd..4610a38 100644 (file)
@@ -1,6 +1,6 @@
 
 # --------------------------------------------------------------------------- #
-# $Id: Makefile,v 1.24 1999/12/20 16:55:26 sewardj Exp $                      #
+# $Id: Makefile,v 1.25 2000/02/14 11:15:09 sewardj Exp $                      #
 # --------------------------------------------------------------------------- #
 
 TOP = ..
@@ -47,10 +47,15 @@ all :: parser.c $(GHC_LIBS_NEEDED) nHandle$(DYN_EXT) hugs
 ### EXTREMELY hacky
 hugs: $(C_OBJS) ../rts/Sanity.o ../rts/Assembler.o ../rts/Disassembler.o \
       ../rts/Evaluator.o ../rts/ForeignCall.o ../rts/GC.o ../rts/Printer.o \
-      ../rts/StgCRun.o
+      ../rts/StgCRun.o ../rts/PrimOps.o
        $(CC) -o $@ $(CC_OPTS) $^ $(GHC_LIBS_NEEDED) \
                 -lbfd -liberty $(LIB_READLINE) $(LIB_DL) -lgmp -lm
 
+foobar:
+       rm -f ../rts/libHSrts.a  ../rts/libHSrts_u.a
+       rm -f ../rts/StgCRun.o ../rts/StgCRun.u_o
+       make all
+
 nHandle$(DYN_EXT): nHandle.c
 ifeq "$(TARGETPLATFORM)" "i386-unknown-cygwin32"
        gcc -mno-cygwin -O -Wall -o nHandle.o -c nHandle.c