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 voicetarget.c
6 OBJS:=$(patsubst %.c, %.o, $(SRCS))
7 #CFLAGS:=$(CFLAGS) -I. -I/data/export/proj/openssl/include/ -Wall -g -DDEBUG
8 #LDFLAGS:=$(LDFLAGS) -L/data/export/proj/openssl/lib/ -lcrypto -lssl -lconfig
9 CFLAGS:=$(CFLAGS) -I. -Wall -g
10 LDFLAGS:=$(LDFLAGS) -lcrypto -lssl -lconfig
12 umurmurd:google/protobuf-c/libprotobuf_c.a depend.mak $(OBJS)
13 $(CC) $(LDFLAGS) $(OBJS) google/protobuf-c/libprotobuf_c.a -o umurmurd
15 google/protobuf-c/libprotobuf_c.a:
16 $(MAKE) -C google/protobuf-c/
18 # remove object files and executable when user executes "make clean"
20 $(MAKE) -C google/protobuf-c/ clean
28 $(CC) -M $(SRCS) > depend.mak