From: Paul Ramsey Date: Wed, 28 Apr 2004 22:40:32 +0000 (+0000) Subject: Added flex/bison lines for parser. X-Git-Tag: pgis_0_8_2~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f5a7510d32ee3bc987b2d29fe8c8845930c65798;p=postgis Added flex/bison lines for parser. git-svn-id: http://svn.osgeo.org/postgis/trunk@530 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/lwgeom/Makefile b/lwgeom/Makefile index 69031f18f..b118f48f8 100644 --- a/lwgeom/Makefile +++ b/lwgeom/Makefile @@ -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