Makefile 517 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

Maxime Perrotin's avatar
Maxime Perrotin committed
5
edit:
dbarbera's avatar
dbarbera committed
6
	$(OPENGEODE) og.pr system_structure.pr
Maxime Perrotin's avatar
Maxime Perrotin committed
7

dbarbera's avatar
dbarbera committed
8
test-parse:
dbarbera's avatar
dbarbera committed
9
	$(OPENGEODE) og.pr system_structure.pr --check
Maxime Perrotin's avatar
Maxime Perrotin committed
10

dbarbera's avatar
dbarbera committed
11
test-ada:
dbarbera's avatar
dbarbera committed
12
13
14
	$(OPENGEODE) --toAda og.pr system_structure.pr
	$(ASN1SCC) -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
	$(GNATMAKE) -c og.adb
Maxime Perrotin's avatar
Maxime Perrotin committed
15

dbarbera's avatar
dbarbera committed
16
test-llvm:
dbarbera's avatar
dbarbera committed
17
18
19
	$(OPENGEODE) og.pr system_structure.pr --llvm
	$(LLC) og.ll
	$(CC) -c og.s
dbarbera's avatar
dbarbera committed
20

Maxime Perrotin's avatar
Maxime Perrotin committed
21
coverage:
dbarbera's avatar
dbarbera committed
22
	coverage run -p $(OPENGEODE) og.pr system_structure.pr --toAda
Maxime Perrotin's avatar
Maxime Perrotin committed
23

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