1 # build helloworld executable when user executes "make"
3 SRCS:=client.c main.c messages.c pds.c server.c ssl.c log.c conf.c crypt.c \
4 timer.c messagehandler.c channel.c Mumble.pb-c.c
6 OBJS:=$(patsubst %.c, %.o, $(SRCS))
7 CFLAGS:=$(CFLAGS) -I. -Wall -g -DDEBUG
8 LDFLAGS:=$(LDFLAGS) -L/data/export/proj/protobuf/lib -lcrypto -lssl -lconfig
10 umurmurd:google/protobuf-c/libprotobuf_c.a depend.mak $(OBJS)
11 $(CC) $(LDFLAGS) $(OBJS) google/protobuf-c/libprotobuf_c.a -o umurmurd
13 google/protobuf-c/libprotobuf_c.a:
14 $(MAKE) -C google/protobuf-c/
16 # remove object files and executable when user executes "make clean"
18 $(MAKE) -C google/protobuf-c/ clean
26 $(CC) -M $(SRCS) > depend.mak