summaryrefslogtreecommitdiff
path: root/makefile
blob: 836c7b7ff5f5a08fe82e528d8b007144def83735 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53

OUTPUTDIR = bin
SOURCEDIR = src



all: semantic syntactic proofgraph writeproof delete concat listthm meaningsubst unittest compare

clean:
	find . -name '*.hi' -delete
	find . -name '*.o' -delete


semantic:
	cd ${SOURCEDIR}; \
	ghc --make SemanticMain.hs -o ../${OUTPUTDIR}/Semantic

syntactic:
	cd ${SOURCEDIR}; \
	ghc --make Syntactic.hs -o ../${OUTPUTDIR}/Syntactic

proofgraph:
	cd ${SOURCEDIR}; \
	ghc --make ProofGraphMain.hs -o ../${OUTPUTDIR}/ProofGraph

writeproof:
	cd ${SOURCEDIR}; \
	ghc --make WriteProofMain.hs -o ../${OUTPUTDIR}/WriteProof

delete:
	cd ${SOURCEDIR}; \
	ghc --make Delete.hs -o ../${OUTPUTDIR}/Delete

concat:
	cd ${SOURCEDIR}; \
	ghc --make Concat.hs -o ../${OUTPUTDIR}/Concat

listthm:
	cd ${SOURCEDIR}; \
	ghc --make ListThm.hs -o ../${OUTPUTDIR}/ListThm

meaningsubst:
	cd ${SOURCEDIR}; \
	ghc --make MeaningSubst.hs -o ../${OUTPUTDIR}/MeaningSubst

unittest:
	cd ${SOURCEDIR}; \
	ghc --make Test.hs -o ../${OUTPUTDIR}/UnitTest

compare:
	cd ${SOURCEDIR}; \
	ghc --make Compare.hs -o ../${OUTPUTDIR}/Compare