aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue1414/Makefile
blob: e8033ac60fd2b80f869e099b543a2f0050d1c5cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
GHDL=ghdl
GHDLFLAGS=--ieee=synopsys -O2

MODULES= \
	test.vhd \

.PHONY:
all: elaboration.done
	./tb --ieee-asserts=disable --dump-rti

elaboration.done: analyse.done
	$(GHDL) -e $(GHDLFLAGS) -o tb tb
	touch $@

analyse.done: $(MODULES)
	echo Building rofl...
	$(GHDL) -a $(GHDLFLAGS) $^
	touch $@

.PHONY:
clean:
	echo "Cleaning up..."
	rm -f *.o *.cf *.done *.ghw tb