Makefile 608 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 function0.pr system_structure.pr

dbarbera's avatar
dbarbera committed
8
9
test-parse:
	../../../opengeode.py function0.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 function0.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 function0.adb
Maxime Perrotin's avatar
Maxime Perrotin committed
15

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

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

dbarbera's avatar
dbarbera committed
24
.PHONY: all edit test-parse test-ada test-llvm coverage