Makefile 1.01 KB
Newer Older
1
2
3

# Yes, it's a hack.  Complaints to /dev/null.

4
RUNTESTS_SRCS= \
5
6
	TopSort.hs CmdLexer.hs CmdParser.hs CmdSemantics.hs CmdSyntax.hs Main.hs \
	basicRxLib/AbsTreeDefs.hs basicRxLib/Assertions.hs  \
7
8
9
10
11
12
13
14
15
16
17
18
19
	basicRxLib/AugTreeDefs.hs basicRxLib/AugmentTree.hs \
	basicRxLib/BagRE.hs basicRxLib/CompileREP.hs \
	basicRxLib/CompileREPB.hs basicRxLib/CompileRES.hs \
	basicRxLib/ConstructorMonad.hs basicRxLib/ExecRE.hs \
	basicRxLib/FiniteMap.hs basicRxLib/Global.hs \
	basicRxLib/HandleInterval.hs basicRxLib/HandleSubexp.hs \
	basicRxLib/IsPrefix.hs basicRxLib/MakeNFA.hs \
	basicRxLib/MakeNFANode.hs basicRxLib/Matchers.hs \
	basicRxLib/NFADefs.hs basicRxLib/OrdList.hs \
	basicRxLib/ParsePolyRegexp.hs basicRxLib/ParsePolyRegexpBasic.hs \
	basicRxLib/ParseStringRegexp.hs basicRxLib/Parsers.hs basicRxLib/Regexp.hs


20
all: runtests
21
22
23
24

boot:
	@echo "Make boot is not needed here"

25
runtests: $(RUNTESTS_SRCS)
26
	ghc-5.00.2 --make Main -o runtests -i -ibasicRxLib -package lang -cpp
27
28

clean:
29
	/bin/rm -f runtests *.o *.hi basicRxLib/*.o basicRxLib/*.hi
30