diff options
author | Kang-Che Sung (宋岡哲) <Explorer09@gmail.com> | 2018-03-16 22:31:48 +0800 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-03-16 11:31:48 -0300 |
commit | 2e3c35d66d7fbc91bf754b345c8ea3d4f2f36f7d (patch) | |
tree | e6a8b23828728f6e6744b24dc32d7ae83557b734 /OpenFilesScreen.c | |
parent | 697f5bb9c14a89b2e04519c956fc7e455c9b1cc0 (diff) |
Use AM_CFLAGS and AM_LDFLAGS in Makefile.am (#760)
This reduces generated Makefile.in size by 74%.
(217319 bytes -> 56326 bytes)
Automake considers that <prog>_CFLAGS and <prog>_LDFLAGS are
program-specific build rules, and when such are specified, Automake
will generate additional code just to avoid the "generic" and
package-wide AM_CFLAGS or AM_LDFLAGS. (Especially for <prog>_CFLAGS,
Automake will rename generated object files to become "prog-foo.o" and
such, and it's _a lot_ of code to achieve this in Makefile.)
There's no reason for htop to rename intermediate object files. It's
better to make things simpler.
Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
Diffstat (limited to 'OpenFilesScreen.c')
0 files changed, 0 insertions, 0 deletions