You need to set CFLAGS. And CXXFLAGS, too
> On May 19, 2015, at 12:26, Gery . <gameji...@hotmail.com> wrote: > > Thanks, however it didn't work if I put it in the install_makefiles or > .bashrc: > > # Required parameters: > $MBSYSTEM_HOME = "/usr/local/mbsystem"; > $OS = "LINUX"; > $CFLAGS = "-Wall -g -I/usr/X11/include "; > $LFLAGS = "-Wall -g -lm -L/usr/lib -lgdal"; > $CPPFLAGS="-I/usr/include/tirpc"; > # NETCDF > $NETCDFLIBDIR = "/usr/lib"; > $NETCDFINCDIR = "/usr/include"; > # GMT > $GMTLIBDIR = "/opt/gmt/gmt-4.5.9/lib"; > $GMTINCDIR = "/opt/gmt/gmt-4.5.9/include"; > $PROJECTIONS = "$MBSYSTEM_HOME/Projections.dat"; > > I also put it in my .bashrc in ~/: > > export CPPFLAGS="-I/usr/include/tirpc" > > Any additional idea? > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple