]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - Makefile.in
Makefile.in: activate even more gcc warnings
[paraslash.git] / Makefile.in
index a6d55d410db7287ba7fc707cb7b923ab79bfe372..35dc669e4c7fb71ae79388472d52e70809cfb812 100644 (file)
@@ -25,17 +25,12 @@ codename = oriented abstraction
 
 DEBUG_CPPFLAGS += -Wno-sign-compare -g -Wunused -Wundef -W
 
-# produces lots of warnings on older debian systems with gcc-2.95.4
-# DEBUG_CPPFLAGS += -Wredundant-decls
+DEBUG_CPPFLAGS += -Wredundant-decls
 
 # produces false positives
 # DEBUG_CPPFLAGS += -Wunreachable-code
 
-# invalid options for gcc-2.95.4
-# CPPFLAGS += -Wfloat-equal
-# CPPFLAGS += -Wmissing-format-attribute
-# CPPFLAGS += -Wunused-macros
-# CPPFLAGS += -Wwrite-strings
+#CPPFLAGS += -Wwrite-strings
 
 # invalid option for gcc-3.3.5
 # CPPFLAGS += -Wextra
@@ -55,6 +50,8 @@ CPPFLAGS += -DVERSION='"$(version)"'
 CPPFLAGS += -DCODENAME='"$(codename)"'
 CPPFLAGS += -DCC_VERSION='"$(cc_version)"'
 CPPFLAGS += -Werror-implicit-function-declaration
+CPPFLAGS += -Wmissing-format-attribute
+CPPFLAGS += -Wunused-macros
 
 BINARIES = para_server para_client para_gui para_audiod para_audioc para_recv para_filter para_write $(extra_binaries)
 
@@ -146,11 +143,6 @@ grab_client.cmdline.h grab_client.cmdline.c: grab_client.ggo
        esac; \
        gengetopt $$O --conf-parser --file-name=$(*F).cmdline --set-package="para_$(subst .cmdline,,$(*F))" --set-version="$V"  < $<
 
-ortp_send.o: ortp_send.c
-       $(CC) -c -Wall -o $@ -g @GLIB_CFLAGS@ $<
-ortp_recv.o: ortp_recv.c
-       $(CC) -c -Wall -o $@ -g @GLIB_CFLAGS@ $<
-
 para_recv: @recv_objs@
        $(CC) @recv_objs@ -o $@ @recv_ldflags@