Commit e57ae06671c9c92fe98a65522959198a689b188c

Stefan Reinauer 2010-04-26T15:40:54

fcode-utils/romheaders: separate INCLUDES and CFLAGS git-svn-id: svn://coreboot.org/openbios/trunk/fcode-utils-devel@756 f158a5a8-5612-0410-a976-696ce0be7e32

diff --git a/romheaders/Makefile b/romheaders/Makefile
index 0ab3332..1fbdc69 100644
--- a/romheaders/Makefile
+++ b/romheaders/Makefile
@@ -22,9 +22,10 @@
 #  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA, 02110-1301 USA
 #
 
-CC	?= gcc
-STRIP	= strip
-CFLAGS	= -O2 -Wall -W -ansi -I../shared
+CC	 ?= gcc
+STRIP    = strip
+CFLAGS   = -O2 -Wall -W -ansi
+INCLUDES = -I../shared
 
 SOURCES = romheaders.c ../shared/classcodes.c
 
@@ -33,10 +34,9 @@ SOURCES = romheaders.c ../shared/classcodes.c
 all: romheaders
 
 romheaders: $(SOURCES)
-	$(CC) $(CFLAGS) $(SOURCES) -o $@
+	$(CC) $(CFLAGS) $(INCLUDES) $(SOURCES) -o $@
 	$(STRIP) romheaders
-	
+
 clean:
 	rm -f *~
 	rm -f romheaders
-