Last change
on this file since 467:a1155a9e8e09 was
363:a637fb9d457b,
checked in by Akos Ladanyi <ladanyi@…>, 16 years ago
|
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').
|
File size:
1.3 KB
|
Line | |
---|
1 | ACLOCAL_AMFLAGS = -I m4 |
---|
2 | |
---|
3 | AM_CXXFLAGS = $(WARNINGCXXFLAGS) |
---|
4 | |
---|
5 | AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir) |
---|
6 | LDADD = $(top_builddir)/lemon/libemon.la |
---|
7 | |
---|
8 | EXTRA_DIST = \ |
---|
9 | AUTHORS \ |
---|
10 | LICENSE \ |
---|
11 | m4/lx_check_cplex.m4 \ |
---|
12 | m4/lx_check_glpk.m4 \ |
---|
13 | m4/lx_check_soplex.m4 \ |
---|
14 | CMakeLists.txt \ |
---|
15 | cmake |
---|
16 | |
---|
17 | pkgconfigdir = $(libdir)/pkgconfig |
---|
18 | lemondir = $(pkgincludedir) |
---|
19 | bitsdir = $(lemondir)/bits |
---|
20 | conceptdir = $(lemondir)/concepts |
---|
21 | pkgconfig_DATA = |
---|
22 | lib_LTLIBRARIES = |
---|
23 | lemon_HEADERS = |
---|
24 | bits_HEADERS = |
---|
25 | concept_HEADERS = |
---|
26 | noinst_HEADERS = |
---|
27 | noinst_PROGRAMS = |
---|
28 | bin_PROGRAMS = |
---|
29 | check_PROGRAMS = |
---|
30 | dist_bin_SCRIPTS = |
---|
31 | TESTS = |
---|
32 | XFAIL_TESTS = |
---|
33 | |
---|
34 | include lemon/Makefile.am |
---|
35 | include test/Makefile.am |
---|
36 | include doc/Makefile.am |
---|
37 | include demo/Makefile.am |
---|
38 | include tools/Makefile.am |
---|
39 | |
---|
40 | MRPROPERFILES = \ |
---|
41 | aclocal.m4 \ |
---|
42 | config.h.in \ |
---|
43 | config.h.in~ \ |
---|
44 | configure \ |
---|
45 | Makefile.in \ |
---|
46 | build-aux/config.guess \ |
---|
47 | build-aux/config.sub \ |
---|
48 | build-aux/depcomp \ |
---|
49 | build-aux/install-sh \ |
---|
50 | build-aux/ltmain.sh \ |
---|
51 | build-aux/missing \ |
---|
52 | doc/doxygen.log |
---|
53 | |
---|
54 | mrproper: |
---|
55 | $(MAKE) $(AM_MAKEFLAGS) maintainer-clean |
---|
56 | -rm -f $(MRPROPERFILES) |
---|
57 | |
---|
58 | dist-bz2: dist |
---|
59 | zcat $(PACKAGE)-$(VERSION).tar.gz | \ |
---|
60 | bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2 |
---|
61 | |
---|
62 | distcheck-bz2: distcheck |
---|
63 | zcat $(PACKAGE)-$(VERSION).tar.gz | \ |
---|
64 | bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2 |
---|
65 | |
---|
66 | .PHONY: mrproper dist-bz2 distcheck-bz2 |
---|
Note: See
TracBrowser
for help on using the repository browser.