Mercurial > audlegacy-plugins
comparison src/lastfm/Makefile @ 1046:9b8400ca5ee8 trunk
[svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
author | yaz |
---|---|
date | Sun, 20 May 2007 21:52:04 -0700 |
parents | b1128efde471 |
children | 5896bd827cbc |
comparison
equal
deleted
inserted
replaced
1045:028b7ca16d30 | 1046:9b8400ca5ee8 |
---|---|
11 | 11 |
12 SOURCES = lastfm.c | 12 SOURCES = lastfm.c |
13 | 13 |
14 CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(BEEP_DEFINES) $(CURL_CFLAGS) -I../../intl -I../.. | 14 CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(BEEP_DEFINES) $(CURL_CFLAGS) -I../../intl -I../.. |
15 | 15 |
16 CFLAGS += -Wall -pedantic -std=c99 -fgnu89-inline | 16 CFLAGS += -Wall -pedantic -std=c99 $(GCC42_CFLAGS) |
17 #CFLAGS += -Wpointer-arith -Wimplicit -Wnested-externs -Wcast-align \ | 17 #CFLAGS += -Wpointer-arith -Wimplicit -Wnested-externs -Wcast-align \ |
18 #-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes \ | 18 #-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes \ |
19 #-Wmissing-declarations -W -Wno-unused -Wshadow -Wmissing-noreturn \ | 19 #-Wmissing-declarations -W -Wno-unused -Wshadow -Wmissing-noreturn \ |
20 #-Wundef -Wpacked -Wnested-externs -Wbad-function-cast -Wredundant-decls \ | 20 #-Wundef -Wpacked -Wnested-externs -Wbad-function-cast -Wredundant-decls \ |
21 #-Wfloat-equal -Wdisabled-optimization -pedantic -std=c99 | 21 #-Wfloat-equal -Wdisabled-optimization -pedantic -std=c99 |