add -package directory and process to nhc98 builds
authorMalcolm.Wallace@cs.york.ac.uk <unknown>
Fri, 25 May 2007 13:11:15 +0000 (13:11 +0000)
committerMalcolm.Wallace@cs.york.ac.uk <unknown>
Fri, 25 May 2007 13:11:15 +0000 (13:11 +0000)
Makefile.nhc98

index 85021f8..4cf9d22 100644 (file)
@@ -24,14 +24,15 @@ HFLAGS =
 export HFLAGS
 endif
 ifeq "$(findstring nhc98, ${HC})" "nhc98"
-HFLAGS = -package base -package directory +CTS -H4M -CTS
+HFLAGS = -package base -package directory -package process +CTS -H4M -CTS
 export HFLAGS
 endif
 
 all: $(TARGET)
 install: $(TARGET)
 cfiles: cleanC $(SRCS)
-       $(HMAKE) -hc=$(LOCAL)nhc98 -package base -DBUILD_NHC -C Main.hs
+       $(HMAKE) -hc=$(LOCAL)nhc98 -package base -package directory \
+       -package process -DBUILD_NHC -C Main.hs
 clean:
        -rm -f *.hi *.o $(OBJDIR)/*.o
 cleanC: clean