diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 4664630e5..bd0168f5a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,3 +1,5 @@ +CLEANFILES = ncmpc-tiny + AM_CPPFLAGS = \ $(GLIB_CFLAGS)\ $(GTHREAD_CFLAGS)\ @@ -101,6 +103,10 @@ endif ncmpc_SOURCES+=${ncmpc_headers} +# build the smalles possible ncmpc binary +ncmpc-tiny: $(filter-out %.h,$(ncmpc_SOURCES)) + $(COMPILE) --combine -fwhole-program $(ncmpc_LDFLAGS) $(ncmpc_LDADD) $(LIBS) $^ -o $@ + strip --strip-all $@ # # sparse |