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

11
12
13
14
15
16
17
18
19
test-ada: og.ali dataview-uniq.o | test_ada.o
	$(GNATBIND) -n og.ali
	$(GNATLINK) -o test_ada test_ada.o og.ali -lgnat
	./test_ada


test-llvm: og.o dataview-uniq.o | test_llvm.o
	$(CC) og.o dataview-uniq.o test_llvm.o -o test_llvm -lm
	./test_llvm
Maxime Perrotin's avatar
Maxime Perrotin committed
20

dbarbera's avatar
dbarbera committed
21

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

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