]> granicus.if.org Git - postgis/commitdiff
Added flex/bison lines for parser.
authorPaul Ramsey <pramsey@cleverelephant.ca>
Wed, 28 Apr 2004 22:40:32 +0000 (22:40 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Wed, 28 Apr 2004 22:40:32 +0000 (22:40 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@530 b70326c6-7e19-0410-871a-916f4a2858ee

lwgeom/Makefile

index 69031f18fedad45580fccc27a29c9f7749bca21c..b118f48f8e7c6871808e9170c34e573912833fa5 100644 (file)
@@ -142,6 +142,12 @@ SHLIB_LINK += $(BE_DLLLIBS)
 
 include $(top_srcdir)/src/Makefile.shlib
 
+wktparse.tab.c: wktparse.y
+       $(YACC) -vd -p lwg_parse_yy wktparse.y
+
+lex.yy.c: wktparse.lex wktparse.tab.c
+       $(FLEX) -Plwg_parse_yy -if -o'lex.yy.c' wktparse.lex 
+
 all: all-lib lwgeom.sql 
 
 # Shared library stuff