From 4c76c9c398213db1c82caf5d4a366035eecc1c93 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Wed, 24 Aug 2011 12:14:44 +0000 Subject: makefile fix git-svn-id: https://svn.kapsi.fi/jpa/nanopb@968 e3a754e5-d11d-0410-8d38-ebb782a927b9 --- tests/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/Makefile') 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' -- cgit 1.2.3-korg