Permalink
Browse files

make check target (PR#3)

  • Loading branch information...
1 parent 07d7008 commit 431228e881572bcb39f4f919c76e77f97e774eb3 steve committed Oct 28, 2000
Showing with 7 additions and 1 deletion.
  1. +7 −1 Makefile.in
View
@@ -18,7 +18,7 @@
# 59 Temple Place - Suite 330
# Boston, MA 02111-1307, USA
#
-#ident "$Id: Makefile.in,v 1.74 2000/10/15 21:02:08 steve Exp $"
+#ident "$Id: Makefile.in,v 1.75 2000/10/28 03:58:11 steve Exp $"
#
#
SHELL = /bin/sh
@@ -58,6 +58,12 @@ all: ivl@EXEEXT@
cd tgt-verilog ; $(MAKE) all
cd tgt-stub ; $(MAKE) all
+# This rule rules the compiler in the trivial hello.vl program to make
+# sure the basics were compiled properly.
+check: all
+ driver/iverilog -Ccheck.conf -B./ivlpp examples/hello.vl
+ ./a.out | grep 'Hello, World'
+
clean:
rm -f *.o parse.cc parse.cc.output parse.h dep/*.d lexor.cc lexor_keyword.cc verilog iverilog@EXEEXT@
cd vvm ; $(MAKE) clean

0 comments on commit 431228e

Please sign in to comment.