X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2FMakefile;h=95b8ed1629f4d822cd7687d1c5846207c23c3176;hb=ccdcbaf61751aa59a4afb6828c513bedf11dcd37;hp=090f81b130df1a1e1722f9f905ddd0e99fa0c829;hpb=fd7391c60349ab3c0b4d3c8b626c5a32098807e0;p=umurmur.git diff --git a/src/Makefile b/src/Makefile index 090f81b..95b8ed1 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,10 +1,8 @@ -# build helloworld executable when user executes "make" - 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 Mumble.pb-c.c voicetarget.c OBJS:=$(patsubst %.c, %.o, $(SRCS)) -#CFLAGS:=$(CFLAGS) -I. -I/data/export/proj/openssl/include/ -Wall -g -DDEBUG +CFLAGS:=$(CFLAGS) -I. -I/data/export/proj/openssl/include/ -Wall -g -DDEBUG #LDFLAGS:=$(LDFLAGS) -L/data/export/proj/openssl/lib/ -lcrypto -lssl -lconfig CFLAGS:=$(CFLAGS) -I. -Wall -g LDFLAGS:=$(LDFLAGS) -lcrypto -lssl -lconfig @@ -15,7 +13,6 @@ umurmurd:google/protobuf-c/libprotobuf_c.a depend.mak $(OBJS) google/protobuf-c/libprotobuf_c.a: $(MAKE) -C google/protobuf-c/ -# remove object files and executable when user executes "make clean" clean: $(MAKE) -C google/protobuf-c/ clean rm -f *.o umurmurd @@ -25,6 +22,6 @@ all: umurmurd $(OBJS): Makefile depend.mak: - $(CC) -M $(SRCS) > depend.mak + $(CC) $(CFLAGS) -M $(SRCS) > depend.mak include depend.mak \ No newline at end of file