summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-08-26 18:05:10 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-08-26 18:05:10 +0300
commit8a95311b51e6b64835ba8141594d8e804241377e (patch)
treeef08360c0f56ae61fe95702699f82fab0624f6f7 /examples
parent3ed219382e55885a66a462db1cf06170ce80e606 (diff)
Add pb_common.c to examples
Diffstat (limited to 'examples')
-rw-r--r--examples/simple/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/simple/Makefile b/examples/simple/Makefile
index 02a4c3ff..970a8650 100644
--- a/examples/simple/Makefile
+++ b/examples/simple/Makefile
@@ -10,6 +10,7 @@ CSRC = simple.c # The main program
CSRC += simple.pb.c # The compiled protocol definition
CSRC += $(NANOPB_DIR)/pb_encode.c # The nanopb encoder
CSRC += $(NANOPB_DIR)/pb_decode.c # The nanopb decoder
+CSRC += $(NANOPB_DIR)/pb_common.c # The nanopb common parts
# Build rule for the main program
simple: $(CSRC)