Makefile 713 Bytes
Newer Older
dbarbera's avatar
dbarbera committed
1
all: test-ada test-llvm
Maxime Perrotin's avatar
Maxime Perrotin committed
2

dbarbera's avatar
dbarbera committed
3
4
5
edit:
	../../../opengeode.py function0.pr system_structure.pr

dbarbera's avatar
dbarbera committed
6
7
test-parse:
	../../../opengeode.py function0.pr system_structure.pr --check
Maxime Perrotin's avatar
Maxime Perrotin committed
8

dbarbera's avatar
dbarbera committed
9
10
test-ada:
	../../../opengeode.py --toAda function0.pr system_structure.pr
Maxime Perrotin's avatar
Maxime Perrotin committed
11
	asn1.exe -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
dbarbera's avatar
dbarbera committed
12
	gnatmake -c function0.adb
Maxime Perrotin's avatar
Maxime Perrotin committed
13

dbarbera's avatar
dbarbera committed
14
15
16
17
18
test-llvm:
	../../../opengeode.py function0.pr system_structure.pr --llvm
	llc function0.ll
	gcc -c function0.s

Maxime Perrotin's avatar
Maxime Perrotin committed
19
20
21
22
coverage:
	coverage run -p ../../../opengeode.py function0.pr system_structure.pr --toAda

clean:
dbarbera's avatar
dbarbera committed
23
24
	rm -rf *.adb *.ads *.pyc runSpark.sh spark.idx *.o *.ali gnat.cfg examiner \
	bin *.wrn *.gpr testcase *.ll *.s
dbarbera's avatar
dbarbera committed
25
26

.PHONY: all edit test-parse test-ada test-llvm coverage clean