diff options
author | Mark D. Roth <roth@google.com> | 2016-09-30 07:48:00 -0700 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2016-09-30 07:48:00 -0700 |
commit | 43b817ced14083de585111c2657bbe34040bdcc7 (patch) | |
tree | 3b9e28af5b7e90e9183acae48f0750d1099fbae8 /third_party/nanopb/examples/network_server/Makefile | |
parent | 366c6ceb8c53a4f8c4a2f9aa2c6fee8f2a070479 (diff) | |
parent | be43240564891aaa34bbd911332994fe8d197c0b (diff) |
Merge remote-tracking branch 'upstream/master' into run_interop_tests_go
Diffstat (limited to 'third_party/nanopb/examples/network_server/Makefile')
-rw-r--r-- | third_party/nanopb/examples/network_server/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/third_party/nanopb/examples/network_server/Makefile b/third_party/nanopb/examples/network_server/Makefile new file mode 100644 index 0000000000..2c7639a15d --- /dev/null +++ b/third_party/nanopb/examples/network_server/Makefile @@ -0,0 +1,17 @@ +# Include the nanopb provided Makefile rules +include ../../extra/nanopb.mk + +# Compiler flags to enable all warnings & debug info +CFLAGS = -ansi -Wall -Werror -g -O0 +CFLAGS += -I$(NANOPB_DIR) + +all: server client + +.SUFFIXES: + +clean: + rm -f server client fileproto.pb.c fileproto.pb.h + +%: %.c common.c fileproto.pb.c + $(CC) $(CFLAGS) -o $@ $^ $(NANOPB_CORE) + |