Subject: CGAL users discussion list
List archive
- From: Roger House <>
- To:
- Subject: [cgal-discuss] Question about generated makefile
- Date: Sun, 28 Sep 2008 10:55:02 -0700
I just began using CGAL on Linux, and I was happy
to discover cgal_create_makefile which conveniently creates a makefile
tailored to my system. However, I'm unclear on how to supply
additional parameters to g++. For example, I have an h file which I
need to tell g++ about. So I would like to add the parameter
-Iwhatever to the g++ call. The only way I have found to do this is to
edit makefile so that this statement CXXFLAGS = \ $(CGAL_CXXFLAGS) \ $(LONG_NAME_PROBLEM_CXXFLAGS) becomes this CXXFLAGS = -Iwhatever \ $(CGAL_CXXFLAGS) \ $(LONG_NAME_PROBLEM_CXXFLAGS) Is there a way to do this that does not modify the makefile? Perhaps something like make SOMEFLAGS=-Iwhatever where SOMEFLAGS will be taken account of by the makefile? Thank you for your help. Roger House |
- [cgal-discuss] Question about generated makefile, Roger House, 09/28/2008
- Re: [cgal-discuss] Question about generated makefile, Laurent Rineau, 09/28/2008
Archive powered by MHonArc 2.6.16.