Enable -Werror for romcc
[coreboot.git] / util / k8resdump / Makefile
index 7cf039036e3ba69938fb2249fea412f0e25f3d65..21084a33326c5bad00305402cce487f9aa2af811 100644 (file)
@@ -1,8 +1,21 @@
-#
-# Makefile for k8redump utility
-# 
-# Original from Stefan Reinauer <stepan@openbios.org>
-#
+##
+## Makefile for k8resdump utility
+##
+## (C) 2005 coresystems GmbH
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; version 2 of the License.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+##
 
 PROGRAM = k8resdump
 
@@ -14,9 +27,9 @@ PREFIX  = /usr/local
 CFLAGS  = -Os -Wall -Werror
 OS_ARCH        = $(shell uname)
 ifeq ($(OS_ARCH), SunOS)
-LDFLAGS = -lpci 
+LDFLAGS = -lpci
 else
-LDFLAGS = -lpci -lz -static 
+LDFLAGS = -lpci -lz -static
 STRIP_ARGS = -s
 endif
 
@@ -33,7 +46,7 @@ clean:
 
 distclean: clean
        rm -f $(PROGRAM) .dependencies
-       
+
 dep:
        @$(CC) -MM *.c > .dependencies