Instead of adding __attribute__((unused)) to unused arguments, add the -Wno-unused-parameter compiler flag. Signed-off-by: Bart Van Assche <bvanassche@acm.org>
20 lines
460 B
Makefile
20 lines
460 B
Makefile
AM_CPPFLAGS = -I${srcdir}/../include
|
|
AM_CFLAGS = $(WARN_CFLAGS)
|
|
AM_LDFLAGS = -no-undefined
|
|
LIBS = ../lib/libiscsi.la
|
|
|
|
noinst_PROGRAMS = prog_reconnect prog_reconnect_timeout prog_noop_reply \
|
|
prog_readwrite_iov prog_timeout prog_read_all_pdus \
|
|
prog_header_digest
|
|
|
|
T = `ls test_*.sh`
|
|
|
|
test: $(noinst_PROGRAMS)
|
|
for TEST in $(T); do \
|
|
echo "Running $$TEST"; \
|
|
echo "--------------"; \
|
|
sh $$TEST || exit 1; \
|
|
echo "--------------"; \
|
|
echo; \
|
|
done
|