Makefile 454 Bytes
Newer Older
Maxime Perrotin's avatar
Maxime Perrotin committed
1
2
3
KAZOO=../../kazoo

all: test-parse
4
	cd output/build && ocarina -x main.aadl
Maxime Perrotin's avatar
Maxime Perrotin committed
5
6

test-parse: clean
Maxime Perrotin's avatar
Maxime Perrotin committed
7
	$(KAZOO) --gw -p \
Maxime Perrotin's avatar
Maxime Perrotin committed
8
9
10
11
	         -o output \
	         --glue \
		 --no-stdlib \
	         --debug \
12
		 ../common/ocarina_components.aadl
Maxime Perrotin's avatar
Maxime Perrotin committed
13
14
15


gdb: clean
16
	gdb --args $(KAZOO) --gw -p \
Maxime Perrotin's avatar
Maxime Perrotin committed
17
18
	               -o output \
	               --glue \
19
20
21
		 --no-stdlib \
	         --debug \
		 ../common/ocarina_components.aadl
Maxime Perrotin's avatar
Maxime Perrotin committed
22
23
24
25
26

clean:
	rm -rf output

.PHONY: clean test-parse gdb