Makefile 749 Bytes
Newer Older
dbarbera's avatar
dbarbera committed
1
all: test-ada
2

dbarbera's avatar
dbarbera committed
3
4
test-parse:
	../../../opengeode.py trafficlight.pr system_structure.pr --check
5

dbarbera's avatar
dbarbera committed
6
7
test-ada:
	../../../opengeode.py --toAda trafficlight.pr system_structure.pr
8
	asn1.exe -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
dbarbera's avatar
dbarbera committed
9
	gnatmake -c *.adb
10
	#gcc -c test.c
dbarbera's avatar
dbarbera committed
11
	#gnatbind -n trafficlight.ali
12
13
	#gnatlink -o testcase test.o trafficlight.ali -lgnat -lm

14
15
16
17
test-export:
	../../../opengeode.py --png --pdf --svg trafficlight.pr system_structure.pr
	../../../opengeode.py --png --pdf --svg --split trafficlight.pr system_structure.pr

18
19
20
21
coverage:
	coverage run -p ../../../opengeode.py trafficlight.pr system_structure.pr --toAda

clean:
22
	rm -rf *.adb *.ads *.pyc runSpark.sh spark.idx *.o *.ali gnat.cfg examiner bin *.wrn *.gpr *.pdf *.svg *.png test