diff options
author | Petteri Aimonen <jpa@npb.mail.kapsi.fi> | 2011-08-24 12:14:44 +0000 |
---|---|---|
committer | Petteri Aimonen <jpa@npb.mail.kapsi.fi> | 2011-08-24 12:14:44 +0000 |
commit | 4c76c9c398213db1c82caf5d4a366035eecc1c93 (patch) | |
tree | 7c6bc98c21f849345b2fae937180f4974dd02110 | |
parent | 9cb63dd2667360e165739ab06a1aeb68d4007a24 (diff) |
makefile fix
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@968 e3a754e5-d11d-0410-8d38-ebb782a927b9
-rw-r--r-- | tests/Makefile | 3 |
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' |