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 timer.c messagehandler.c channel.c
4 OBJS:=$(patsubst %.c, %.o, $(SRCS))
5 CFLAGS:=$(CFLAGS) -Wall -Os -g
6 LDFLAGS:=$(LDFLAGS) -lcrypto -lssl -lconfig
8 umurmurd:$(OBJS) depend.mak
9 $(CC) $(LDFLAGS) $(OBJS) -o umurmurd
11 # remove object files and executable when user executes "make clean"
20 $(CC) -M $(SRCS) > depend.mak