Makefile 598 Bytes
Newer Older
1
2
3
4
5
6
7
8
all: compile

generate-code:
	../../../opengeode.py --toAda trafficlight.pr system_structure.pr


compile: generate-code
	asn1.exe -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
Maxime Perrotin's avatar
Maxime Perrotin committed
9
	gnatmake -c *.adb && echo 'All OK!'
10
	#gcc -c test.c
dbarbera's avatar
dbarbera committed
11
	#gnatbind -n trafficlight.ali
12
13
14
15
16
17
18
19
20
21
22
	#gnatlink -o testcase test.o trafficlight.ali -lgnat -lm


parse:
	../../../opengeode.py trafficlight.pr system_structure.pr --check

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