Location: LEMON/LEMON-official/Makefile.am

Load file history
gravatar
ladanyi@tmit.bme.hu
Revert to the canonical way of customizing CXXFLAGS A default list of compiler flags is set via AM_CXXFLAGS Automake variable. However this gets overridden by per-target CXXFLAGS variables (e.g. foo_CXXFLAGS in case the foo target). Because of this you should append $(AM_CXXFLAGS) to the end of the per-target CXXFLAGS variables (e.g. foo_CXXFLAGS = ... $(AM_CXXFLAGS)). After this default list of flags the contents of the CXXFLAGS user variable is passed to the compiler. This variable has a default value determined by configure (in case of g++ it is '-g -O2'). You can override this by specifying CXXFLAGS when invoking make (e.g. make CXXFLAGS='-O3').
ACLOCAL_AMFLAGS = -I m4
AM_CXXFLAGS = $(WARNINGCXXFLAGS)
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir)
LDADD = $(top_builddir)/lemon/libemon.la
EXTRA_DIST = \
AUTHORS \
LICENSE \
m4/lx_check_cplex.m4 \
m4/lx_check_glpk.m4 \
m4/lx_check_soplex.m4 \
CMakeLists.txt \
cmake
pkgconfigdir = $(libdir)/pkgconfig
lemondir = $(pkgincludedir)
bitsdir = $(lemondir)/bits
conceptdir = $(lemondir)/concepts
pkgconfig_DATA =
lib_LTLIBRARIES =
lemon_HEADERS =
bits_HEADERS =
concept_HEADERS =
noinst_HEADERS =
noinst_PROGRAMS =
bin_PROGRAMS =
check_PROGRAMS =
dist_bin_SCRIPTS =
TESTS =
XFAIL_TESTS =
include lemon/Makefile.am
include test/Makefile.am
include doc/Makefile.am
include demo/Makefile.am
include tools/Makefile.am
MRPROPERFILES = \
aclocal.m4 \
config.h.in \
config.h.in~ \
configure \
Makefile.in \
build-aux/config.guess \
build-aux/config.sub \
build-aux/depcomp \
build-aux/install-sh \
build-aux/ltmain.sh \
build-aux/missing \
doc/doxygen.log
mrproper:
$(MAKE) $(AM_MAKEFLAGS) maintainer-clean
-rm -f $(MRPROPERFILES)
dist-bz2: dist
zcat $(PACKAGE)-$(VERSION).tar.gz | \
bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
distcheck-bz2: distcheck
zcat $(PACKAGE)-$(VERSION).tar.gz | \
bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
.PHONY: mrproper dist-bz2 distcheck-bz2