diff options
author | Max Kellermann <max@duempel.org> | 2009-05-04 09:43:05 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-05-04 09:43:05 +0200 |
commit | e6ea7ffdcba772d2bda4b2e9a042beffd6beb7bc (patch) | |
tree | ed5f1d84409fe9663276835c9a03707d954047db /Makefile.am | |
parent | be15a9e4aec3a3c2e1c9a7325fe4f28669424442 (diff) | |
download | mpd-e6ea7ffdcba772d2bda4b2e9a042beffd6beb7bc.tar.gz mpd-e6ea7ffdcba772d2bda4b2e9a042beffd6beb7bc.tar.xz mpd-e6ea7ffdcba772d2bda4b2e9a042beffd6beb7bc.zip |
Makefile.am: run sparse once with all sources
Don't loop over source files, do all checks in one run.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index 5f4e8dbf3..68885d453 100644 --- a/Makefile.am +++ b/Makefile.am @@ -583,10 +583,7 @@ SPARSE_CPPFLAGS = $(DEFAULT_INCLUDES) \ SPARSE_CPPFLAGS += -D__SCHAR_MAX__=127 -D__SHRT_MAX__=32767 \ -D__INT_MAX__=2147483647 -D__LONG_MAX__=2147483647 sparse-check: - for i in $(filter-out %.cxx,$(src_mpd_SOURCES)); \ - do \ - $(SPARSE) -I. $(src_mpd_CFLAGS) $(src_mpd_CPPFLAGS) $(SPARSE_FLAGS) $(SPARSE_CPPFLAGS) $(srcdir)/$$i || exit; \ - done + $(SPARSE) -I. $(src_mpd_CFLAGS) $(src_mpd_CPPFLAGS) $(SPARSE_FLAGS) $(SPARSE_CPPFLAGS) $(filter-out %.cxx,$(src_mpd_SOURCES)) .PHONY: sparse-check |