aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2008-05-15 22:00:26 +0000
committerDavid Barksdale <amatus.amongus@gmail.com>2008-05-15 22:00:26 +0000
commit54506c4b495bd680ea4a62e5ab97be51f968cc09 (patch)
treeda951fbbfbbcac074b9488391eabb4733ffa58af /Makefile
parentcf308c8cdbc3209f31d45f5ed28929f699d9837c (diff)
There is a bug in tree_process() that mixes the start state with the final
state from the last run of the machine. This can cause extra matches to be reported.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 624869f..8cf3568 100644
--- a/Makefile
+++ b/Makefile
@@ -52,6 +52,9 @@ $(LIB)GrokHtml$(DOTSO): $(JNISOURCES) GrokHtml.h
$(LIB)treexpr$(DOTSO): $(SOURCES)
$(CC) $(LIBS) $(CFLAGS) $(INCL) -shared -o $@ $(SOURCES)
+run: run.c $(LIB)treexpr$(DOTSO) treexpr.h
+ $(CC) $(LIBS) $(CFLAGS) $(INCL) $(LIB)treexpr$(DOTSO) -o $@ run.c
+
test: $(LIB)GrokHtml$(DOTSO) TestIt.class
LD_LIBRARY_PATH=$(LD_LIBRARY_PATH):. $(JAVA) TestIt