Must enable UDP when receiving ping packets too.
[umurmur.git] / src / Makefile
index 9b959abc21fffab213381489937415c3a1e60b78..a93fc5a9480ea44fa37dc4be9e7441e53b4e5954 100644 (file)
@@ -2,6 +2,7 @@ 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
 #LDFLAGS:=$(LDFLAGS) -L/data/export/proj/openssl/lib/ -lcrypto -lssl -lconfig
 CFLAGS:=$(CFLAGS) -I. -Wall -g
@@ -15,13 +16,13 @@ google/protobuf-c/libprotobuf_c.a:
 
 clean:
        $(MAKE) -C google/protobuf-c/ clean
-       rm -f *.o umurmurd 
+       rm -f *.o umurmurd depend.mak
 
 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