aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 3810c95..e4c67c5 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -11,6 +11,9 @@ all: breakpoints $(TESTS) run_unittests
clean:
rm -f $(TESTS) person.pb* alltypes.pb* *.o *.gcda *.gcno
+%.pb.o: %.pb.c %.pb.h
+ $(CC) $(CFLAGS) $(CFLAGS_CORE) -c -o $@ $<
+
%.o: %.c
%.o: %.c $(DEPS)
$(CC) $(CFLAGS) -c -o $@ $<