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
4

Maxime Perrotin's avatar
Maxime Perrotin committed
5
6
7
edit:
	../../../opengeode.py challenge.pr system_structure.pr

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

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

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

21
22
23
coverage:
	coverage run -p ../../../opengeode.py challenge.pr system_structure.pr --toAda

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