Fixes an error finding sqldefines.h
git-svn-id: http://svn.osgeo.org/postgis/trunk@8489
b70326c6-7e19-0410-871a-
916f4a2858ee
# Generate any .sql.in files from .sql.in.c files by running them through the C pre-processor
$(SQL_OBJS): %.in: %.in.c
- $(CPP) -traditional-cpp $< | grep -v '^#' > $@
+ $(CPP) -I../../postgis/ -I../../ -traditional-cpp $< | grep -v '^#' > $@
#remove all create object types since these can't be done cleanly in an upgrade
rtpostgis_upgrade.sql: rtpostgis.sql