Makefile 589 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
include ../shared.mk

all: test-ada test-llvm

edit:
	$(OPENGEODE) og.pr

test-parse:
	$(OPENGEODE) og.pr --check

test-ada: 
	$(OPENGEODE) og.pr --toAda
13
	mono $(ASN1SCC) -Ada -typePrefix asn1Scc -equal dataview-uniq.asn
14
15
16
17
18
	$(GNATMAKE) -O$(O) -c *.adb
	$(GNATBIND) -n og.ali

test-c: 
	$(OPENGEODE) og.pr --toC
19
	mono $(ASN1SCC) -c -typePrefix asn1Scc -equal dataview-uniq.asn
20
21
22
23
24
25
26
27
28
29
30
31
32
	$(CC) -O$(O) -c *.c


test-llvm:
	$(OPENGEODE) og.pr --llvm -O$(O)
	$(LLC) *.ll
	$(CC) -O$(O) -c *.s


coverage:
	coverage run -p $(OPENGEODE) og.pr --toAda

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