/[baselayout]/trunk/src/Makefile
Gentoo

Diff of /trunk/src/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2804 Revision 2805
7 7
8check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; \ 8check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; \
9 then echo "$(1)"; else echo "$(2)"; fi) 9 then echo "$(1)"; else echo "$(2)"; fi)
10 10
11# Loads of nice flags to ensure our code is good 11# Loads of nice flags to ensure our code is good
12override CFLAGS += -pedantic -std=c99 \ 12CFLAGS += -pedantic -std=c99 \
13 -Wall -Wunused -Wimplicit -Wshadow -Wformat=2 \ 13 -Wall -Wunused -Wimplicit -Wshadow -Wformat=2 \
14 -Wmissing-declarations -Wno-missing-prototypes -Wwrite-strings \ 14 -Wmissing-declarations -Wno-missing-prototypes -Wwrite-strings \
15 -Wbad-function-cast -Wnested-externs -Wcomment -Winline \ 15 -Wbad-function-cast -Wnested-externs -Wcomment -Winline \
16 -Wchar-subscripts -Wcast-align -Wno-format-nonliteral \ 16 -Wchar-subscripts -Wcast-align -Wno-format-nonliteral \
17 $(call check_gcc, -Wdeclaration-after-statement) \ 17 $(call check_gcc, -Wdeclaration-after-statement) \

Legend:
Removed from v.2804  
changed lines
  Added in v.2805

  ViewVC Help
Powered by ViewVC 1.1.20