1 PROTOBUF_SRCS:=protobuf-c.c protobuf-c-data-buffer.c
2 PROTOBUF_OBJS:=$(patsubst %.c, %.o, $(PROTOBUF_SRCS))
3 CFLAGS:=$(CFLAGS) -I. -Wall -g
7 libprotobuf_c.a:$(PROTOBUF_OBJS)
8 $(AR) rcs libprotobuf_c.a $(PROTOBUF_OBJS)
11 rm -f $(PROTOBUF_OBJS) libprotobuf_c.a