diff options
Diffstat (limited to 'example/Makefile')
-rw-r--r-- | example/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/Makefile b/example/Makefile index 0f08f2d7..efc4a8de 100644 --- a/example/Makefile +++ b/example/Makefile @@ -1,10 +1,10 @@ CFLAGS=-ansi -Wall -Werror -I .. -g -O0 DEPS=../pb_decode.c ../pb_decode.h ../pb_encode.c ../pb_encode.h ../pb.h -all: server +all: server client %: %.c $(DEPS) fileproto.h - $(CC) $(CFLAGS) -o $@ $< ../pb_decode.c ../pb_encode.c fileproto.c + $(CC) $(CFLAGS) -o $@ $< ../pb_decode.c ../pb_encode.c fileproto.c common.c fileproto.h: fileproto.proto ../generator/nanopb_generator.py protoc -I. -I../generator -I/usr/include -ofileproto.pb $< |