summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@npb.mail.kapsi.fi>2011-08-24 12:14:44 +0000
committerPetteri Aimonen <jpa@npb.mail.kapsi.fi>2011-08-24 12:14:44 +0000
commit4c76c9c398213db1c82caf5d4a366035eecc1c93 (patch)
tree7c6bc98c21f849345b2fae937180f4974dd02110 /tests
parent9cb63dd2667360e165739ab06a1aeb68d4007a24 (diff)
makefile fix
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@968 e3a754e5-d11d-0410-8d38-ebb782a927b9
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 5035af8f..807da64a 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -8,6 +8,7 @@ all: $(TESTS) run_unittests breakpoints
clean:
rm -f $(TESTS) person.pb* *.o *.gcda *.gcno
+%.o: %.c
%.o: %.c $(DEPS)
$(CC) $(CFLAGS) -c -o $@ $<
@@ -44,4 +45,4 @@ run_unittests: decode_unittests encode_unittests test_encode1 test_decode1
"`./test_encode1 | protoc --decode=Person -I. -I../generator -I/usr/include person.proto`" ]
run_fuzztest: test_decode1
- bash -c 'I=1; while cat /dev/urandom | ./test_decode1 > /dev/null; do I=$$(($$I+1)); echo -en "\r$$I"; done' \ No newline at end of file
+ bash -c 'I=1; while cat /dev/urandom | ./test_decode1 > /dev/null; do I=$$(($$I+1)); echo -en "\r$$I"; done'