Makefile 414 Bytes
Newer Older
Maxime Perrotin's avatar
Maxime Perrotin committed
1 2 3 4 5 6 7
KAZOO=../../kazoo

all: test-parse

test-parse: clean
	$(KAZOO) --gw \
	         -o output \
Maxime Perrotin's avatar
Maxime Perrotin committed
8
		 -p \
Maxime Perrotin's avatar
Maxime Perrotin committed
9 10 11
	         --glue \
		 --no-stdlib \
	         --debug \
Maxime Perrotin's avatar
Maxime Perrotin committed
12 13
		 ../common/libhw.aadl \
	2>&1 | tail -1 | diff expected -
Maxime Perrotin's avatar
Maxime Perrotin committed
14 15 16 17


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

clean:
	rm -rf output

.PHONY: clean test-parse gdb