Commit 1a503bdcd0cc22a4f6b1149f6d63d1dc895fd5d4
authorMichel Pollet <buserror@gmail.com>
Tue, 14 Oct 2014 17:53:10 +0000 (18:53 +0100)
committerMichel Pollet <buserror@gmail.com>
Tue, 14 Oct 2014 17:53:10 +0000 (18:53 +0100)
Was using ${OBJ} before it was declared.

Signed-off-by: Michel Pollet <buserror@gmail.com>
tests/Makefile

index 3232c8bd34e0228d9d93898c812d9ea7d77f2c11..51853425ab006ad1d0f6d9a85e7be93df8445b90 100644 (file)
@@ -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}