Import hs-plugins cvs

This commit is contained in:
Don Stewart
2005-04-24 08:51:33 +00:00
commit 887fa59389
494 changed files with 23721 additions and 0 deletions

27
examples/eval.mk Normal file
View File

@ -0,0 +1,27 @@
include $(TOP)/config.mk
include $(TOP)/examples/check.mk
PKGFLAGS= -package-conf $(TOP)/plugins.conf.inplace -package eval -package plugins -package printf
BIN=a.out
SRC=Main.hs
BINDIR= "."
REALBIN= ./$(BIN)
.SUFFIXES : .o .hs .hi .lhs .hc .s
all: $(BIN)
$(BIN): $(SRC) $(OBJS)
@rm -f $@
@$(GHC) --make -fglasgow-exts $(GHCFLAGS) $(PKGFLAGS) $(EXTRAFLAGS) $(SRC)
# Standard suffix rules
.o.hi:
@:
.hs.o:
@$(GHC) $(INCLUDES) $(PKGFLAGS) $(GHCFLAGS) $(EXTRAFLAGS) -c $<
clean:
rm -rf *.hi *.o *~ $(BIN)