Makefile 571 Bytes
Newer Older
Maxime Perrotin's avatar
Maxime Perrotin committed
1
2
3
4
5
all: compile

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

dbarbera's avatar
dbarbera committed
6
7
generate-llvm:
	../../../opengeode.py --llvm myfunction.pr system_structure.pr
Maxime Perrotin's avatar
Maxime Perrotin committed
8
9
10

compile: generate-code
	asn1.exe -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
Maxime Perrotin's avatar
Maxime Perrotin committed
11
	gnatmake -c myfunction.adb && echo 'All OK!'
Maxime Perrotin's avatar
Maxime Perrotin committed
12
13
14
15
16
17
18
19
20
21

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

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


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