Makefile 687 Bytes
Newer Older
dbarbera's avatar
dbarbera committed
1
2
include ../shared.mk

dbarbera's avatar
dbarbera committed
3
all: test-ada test-llvm
Maxime Perrotin's avatar
Maxime Perrotin committed
4

dbarbera's avatar
dbarbera committed
5
6
7
edit:
	../../../opengeode.py fce.pr system_structure.pr

dbarbera's avatar
dbarbera committed
8
9
test-parse:
	../../../opengeode.py fce.pr system_structure.pr --check
Maxime Perrotin's avatar
Maxime Perrotin committed
10

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

dbarbera's avatar
dbarbera committed
16
17
18
19
20
test-llvm:
	../../../opengeode.py fce.pr system_structure.pr --llvm
	llc fce.ll
	gcc -c fce.s

Maxime Perrotin's avatar
Maxime Perrotin committed
21
22
23
24
coverage:
	coverage run -p ../../../opengeode.py fce.pr system_structure.pr --toAda

clean:
dbarbera's avatar
dbarbera committed
25
26
	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
27
28

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