COIN-OR::LEMON - Graph Library

Ticket #316: 974c48bda29e.patch

File 974c48bda29e.patch, 1.3 KB (added by Akos Ladanyi, 15 years ago)
  • INSTALL

    # HG changeset patch
    # User Akos Ladanyi <ladanyi@tmit.bme.hu>
    # Date 1265907354 0
    # Node ID 974c48bda29e2186d9ad5a6499fb4fc91535b1c0
    # Parent  a7e93de12cbda2267756b130476b8e84572002bf
    Add more information on Makefile variables (#316)
    
    diff --git a/INSTALL b/INSTALL
    a b  
    173173--without-coin
    174174
    175175   Disable COIN-OR support.
     176
     177
     178Makefile Variables
     179==================
     180
     181Some Makefile variables are reserved by the GNU Coding Standards for
     182the use of the "user" - the person building the package. For instance,
     183CXX and CXXFLAGS are such variables, and have the same meaning as
     184explained in the previous section. These variables can be set on the
     185command line when invoking `make' like this:
     186`make [VARIABLE=VALUE]...'
     187
     188WARNINGCXXFLAGS is a non-standard Makefile variable introduced by us
     189to hold several compiler flags related to warnings. Its default value
     190can be overridden when invoking `make'. For example to disable all
     191warning flags use `make WARNINGCXXFLAGS='.
     192
     193In order to turn off a single flag from the default set of warning
     194flags, you can use the CXXFLAGS variable, since this is passed after
     195WARNINGCXXFLAGS. For example to turn off `-Wold-style-cast' (which is
     196used by default when g++ is detected) you can use
     197`make CXXFLAGS="-g -O2 -Wno-old-style-cast"'.