diff Makefile @ 31447:bb6a85295322

Shut up strict prototype warnings from the gui subdirectory. The GTK headers spit out too many warnings and drown out everything useful.
author diego
date Mon, 21 Jun 2010 10:58:02 +0000
parents 92d75e703bc0
children 1764d80899b8
line wrap: on
line diff
--- a/Makefile	Mon Jun 21 10:51:31 2010 +0000
+++ b/Makefile	Mon Jun 21 10:58:02 2010 +0000
@@ -886,6 +886,8 @@
 $(DEPS) $(MENCODER_DEPS) $(MPLAYER_DEPS): help_mp.h
 $(call ADDSUFFIXES,.d .o,mpcommon vobsub stream/stream_cddb stream/network libmpdemux/muxer_avi gui/win32/gui osdep/mplayer.rc): version.h
 
+gui/%: CFLAGS += -Wno-strict-prototypes
+
 libdvdcss/%:   CFLAGS := -Ilibdvdcss -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.10\" $(CFLAGS_LIBDVDCSS) $(CFLAGS)
 libdvdnav/%:   CFLAGS := -Ilibdvdnav -D__USE_UNIX98 -D_GNU_SOURCE -DHAVE_CONFIG_H -DVERSION=\"MPlayer-custom\" $(CFLAGS)
 libdvdread4/%: CFLAGS := -Ilibdvdread4 -D__USE_UNIX98 -D_GNU_SOURCE $(CFLAGS_LIBDVDCSS_DVDREAD) $(CFLAGS)