Update examples

This commit is contained in:
Don Stewart
2005-09-03 04:45:14 +00:00
parent 5321754614
commit dff0363224
421 changed files with 19 additions and 9 deletions

25
testsuite/eval.mk Normal file
View File

@ -0,0 +1,25 @@
include $(TOP)/config.mk
include $(TOP)/testsuite/check.mk
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)