Makefile 555 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
14
15
16
17
18
	#gnatlink -o testcase test.o trafficlight.ali -lgnat -lm

coverage:
	coverage run -p ../../../opengeode.py trafficlight.pr system_structure.pr --toAda

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