aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-05-04 09:43:05 +0200
committerMax Kellermann <max@duempel.org>2009-05-04 09:43:05 +0200
commite6ea7ffdcba772d2bda4b2e9a042beffd6beb7bc (patch)
treeed5f1d84409fe9663276835c9a03707d954047db
parentbe15a9e4aec3a3c2e1c9a7325fe4f28669424442 (diff)
downloadmpd-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 '')
-rw-r--r--Makefile.am5
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