From 34edfd634822065a0a5e7aac688305f2cb07d9b1 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Mon, 11 Jun 2012 15:56:30 +0800 Subject: [PATCH] automake: Add -Wall -Wextra CFLAGS Signed-off-by: Jeremy Kerr --- Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 79a1316..8b5c431 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,6 @@ +AM_CFLAGS = -Wall -Wextra + bin_PROGRAMS = sbsign sbverify coff_headers = coff/external.h coff/pe.h coff/i386.h coff/x86_64.h @@ -9,11 +11,11 @@ common_CFLAGS = -I$(srcdir)/lib/ccan/ sbsign_SOURCES = sbsign.c $(common_SOURCES) sbsign_LDADD = $(common_LDADD) -sbsign_CFLAGS = $(common_CFLAGS) +sbsign_CFLAGS = $(AM_CFLAGS) $(common_CFLAGS) sbverify_SOURCES = sbverify.c $(common_SOURCES) sbverify_LDADD = $(common_LDADD) -sbverify_CFLAGS = $(common_CFLAGS) +sbverify_CFLAGS = $(AM_CFLAGS) $(common_CFLAGS) man1_MANS = docs/sbsign.1 docs/sbverify.1