Skip to content

Commit

Permalink
tests/endids/Makefile: Move SRC definition out of the loop.
Browse files Browse the repository at this point in the history
Re-adding it during each pass of the for loop led to a bunch of
warnings during the bulid.
  • Loading branch information
silentbicycle authored and katef committed Jun 12, 2023
1 parent 7abff83 commit 8a704d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/endids/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ TEST_OUTDIR.tests/endids = ${BUILD}/tests/endids
INCDIR.${TEST_SRCDIR.tests/endids}/endids${n}.c += src/adt
.endfor

SRC += ${TEST_SRCDIR.tests/endids}/utils.c

.for n in ${TEST.tests/endids:T:R:C/^endids//}
test:: ${TEST_OUTDIR.tests/endids}/res${n}
SRC += ${TEST_SRCDIR.tests/endids}/endids${n}.c
SRC += ${TEST_SRCDIR.tests/endids}/utils.c
CFLAGS.${TEST_SRCDIR.tests/endids}/endids${n}.c += -UNDEBUG

${TEST_OUTDIR.tests/endids}/run${n}: ${TEST_OUTDIR.tests/endids}/endids${n}.o ${TEST_OUTDIR.tests/endids}/utils.o ${BUILD}/lib/libfsm.a ${BUILD}/lib/libre.a
Expand Down

0 comments on commit 8a704d7

Please sign in to comment.