Cross Reference: /hets/CspCASL/Makefile
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
### Makefile --- CSP-CASL parser in hets framework
## Author: a.m.gimblett@swan.ac.uk
## Version: $Id$
## Keywords:
## X-URL:
GHCINCLUDES = ..
GHCOPTS = -Wall -fglasgow-exts -package base \
-package parsec -package fgl -i$(GHCINCLUDES)
BINS = testwrap
SOURCES = AS_CspCASL.hs \
AS_CspCASL_Process.hs \
CspCASL_Keywords.hs \
Logic_CspCASL.hs \
Parse_CspCASL.hs \
Parse_CspCASL_Process.hs \
Print_CspCASL.hs \
SignCSP.hs \
StatAnaCSP.hs \
testwrap.hs
.PHONY: test
default: test
all: $(BINS)
clean:
@find . -name '*~' -exec rm -vf {} ';'
@find . -name '*.o' -exec rm -vf {} ';'
@find . -name '*.hi' -exec rm -vf {} ';'
@find . -name '*.der.hs' -exec rm -vf {} ';'
@find . -name 'ATC*.hs' -exec rm -vf {} ';'
@rm -vf $(BINS)
nuke: clean
testwrap: $(SOURCES)
$(MAKE) -C .. CspCASL/testwrap
ccparse: ccparse.hs $(SOURCES) Print_CspCASL_Isabelle.hs
$(MAKE) -C .. CspCASL/ccparse
test: testwrap
./testwrap -d test/simple.testcases
testi:
ghci $(GHCOPTS) testwrap