wxWidgets/samples/notebook
Vadim Zeitlin ec091c9f2b Don't override CFLAGS etc in configure-generated makefile
CPPFLAGS, CFLAGS, CXXFLAGS and LDFLAGS are supposed to be under
user-control and putting configure-determined options in them broke
something as simple as running "make CXXFLAGS=-Wno-some-extra-warning"
because this overrode the CXXFLAGS set by configure and required for
build.

Improve this by using WX_*FLAGS in the generated makefile and leaving
the user-controlled FLAGS alone. This is still not ideal as running
"configure CFLAGS=-DFOO" and then "make CFLAGS=-DBAR" will define both
FOO and BAR, as configure copies CFLAGS to WX_CFLAGS, and so setting it
on make command line won't override it, as it should, but this should be
a much more rare and also much less severe problem, so we should be able
to live with it for now.

Normally this commit shouldn't result in any user-visible changes, i.e.
it shouldn't break any previously working scenarios and only make some
previously broken ones work.
2020-02-11 23:19:31 +01:00
..
descrip.mms Update OpenVMS compile support 2013-08-27 12:02:20 +00:00
makefile.bcc Rebake after adding DPI awareness option 2019-11-30 22:52:48 +01:00
makefile.gcc Rebake after adding DPI awareness option 2019-11-30 22:52:48 +01:00
Makefile.in Don't override CFLAGS etc in configure-generated makefile 2020-02-11 23:19:31 +01:00
makefile.unx Move wxAdv library contents into wxCore 2018-08-27 21:13:04 +02:00
makefile.vc Rename manifests to use underscores 2019-12-13 21:44:26 +01:00
notebook_vc7.vcproj Rename manifests to use underscores 2019-12-13 21:44:26 +01:00
notebook_vc8.vcproj Rename manifests to use underscores 2019-12-13 21:44:26 +01:00
notebook_vc9.vcproj Rename manifests to use underscores 2019-12-13 21:44:26 +01:00
notebook.bkl Move wxAdv library contents into wxCore 2018-08-27 21:13:04 +02:00
notebook.cpp Remove unnecessary c_str() calls from the samples 2018-11-03 22:52:57 +01:00
notebook.h Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00