aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue382/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue382/Makefile')
-rw-r--r--testsuite/gna/issue382/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/testsuite/gna/issue382/Makefile b/testsuite/gna/issue382/Makefile
new file mode 100644
index 000000000..8e2597dd1
--- /dev/null
+++ b/testsuite/gna/issue382/Makefile
@@ -0,0 +1,24 @@
+ANALYSE=ghdl -a
+ELABORATE=ghdl -e
+VPATH=.
+
+OBJECTS= demo.o tb_demo.o
+
+all: tb_demo
+
+sim:
+ ./tb_demo --stop-time=15sec --wave=tb_demo.ghw
+gsim:
+ killall gtkwave; true
+ ./tb_demo --stop-time=300sec --wave=tb_demo.ghw
+ gtkwave tb_demo.ghw tb_demo.gtk
+
+tb_demo: $(OBJECTS)
+ $(ELABORATE) $@
+
+%.o: %.vhd
+ $(ANALYSE) $<
+
+clean:
+ $(RM) *.o tb_demo e~tb_demoe.lst *~ work-obj93.cf
+