From: Michel Pollet Date: Tue, 14 Oct 2014 17:53:10 +0000 (+0100) Subject: tests: Fix makefile X-Git-Tag: v1.3~64 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=1a503bdcd0cc22a4f6b1149f6d63d1dc895fd5d4;p=sx%2Fsimavr.git tests: Fix makefile Was using ${OBJ} before it was declared. Signed-off-by: Michel Pollet --- diff --git a/tests/Makefile b/tests/Makefile index 3232c8b..5185342 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -27,12 +27,13 @@ IPATH += ${simavr}/include IPATH += ${simavr}/simavr/sim tests_src := ${wildcard test_*.c} -tests := ${patsubst %.c, ${OBJ}/%.tst, ${tests_src}} all: obj axf tests include ../Makefile.common +tests := ${patsubst %.c, ${OBJ}/%.tst, ${tests_src}} + tests: ${tests} axf: ${sources:.c=.axf}