diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-02 17:51:38 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-02 17:51:38 +0200 |
commit | 12e680a3c97a2750c657a8c561a79706f3689149 (patch) | |
tree | 8f2f75f1b0bbf0a5321418c669cc5f53b65a220b /CAN-binder/libs/openxc-message-format/Makefile | |
parent | f44a5b1549bc4c8a84d0dedf4a8b1e4220a34f42 (diff) | |
parent | d9f54f97578429773421abce98d5f6579717afcc (diff) |
Add 'CAN-binder/libs/openxc-message-format/' from commit 'd9f54f97578429773421abce98d5f6579717afcc'
git-subtree-dir: CAN-binder/libs/openxc-message-format
git-subtree-mainline: f44a5b1549bc4c8a84d0dedf4a8b1e4220a34f42
git-subtree-split: d9f54f97578429773421abce98d5f6579717afcc
Diffstat (limited to 'CAN-binder/libs/openxc-message-format/Makefile')
-rw-r--r-- | CAN-binder/libs/openxc-message-format/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CAN-binder/libs/openxc-message-format/Makefile b/CAN-binder/libs/openxc-message-format/Makefile new file mode 100644 index 00000000..7b968e63 --- /dev/null +++ b/CAN-binder/libs/openxc-message-format/Makefile @@ -0,0 +1,11 @@ +nanopb: proto + make -C libs/nanopb/generator/proto + python libs/nanopb/generator/nanopb_generator.py gen/cpp/openxc.pb -f openxc.options + +proto: openxc.proto + @mkdir -p gen/java + @mkdir -p gen/python + @mkdir -p gen/cpp + protoc -I . -I gen -ogen/cpp/openxc.pb --python_out=gen/python --java_out=gen/java $? + +all: nanopb proto |