Skip to content

Commit e57ae06

Browse files
author
Stefan Reinauer
committed
fcode-utils/romheaders: separate INCLUDES and CFLAGS
git-svn-id: svn://coreboot.org/openbios/trunk/fcode-utils-devel@756 f158a5a8-5612-0410-a976-696ce0be7e32
1 parent d1b620a commit e57ae06

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

romheaders/Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@
2222
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA, 02110-1301 USA
2323
#
2424

25-
CC ?= gcc
26-
STRIP = strip
27-
CFLAGS = -O2 -Wall -W -ansi -I../shared
25+
CC ?= gcc
26+
STRIP = strip
27+
CFLAGS = -O2 -Wall -W -ansi
28+
INCLUDES = -I../shared
2829

2930
SOURCES = romheaders.c ../shared/classcodes.c
3031

@@ -33,10 +34,9 @@ SOURCES = romheaders.c ../shared/classcodes.c
3334
all: romheaders
3435

3536
romheaders: $(SOURCES)
36-
$(CC) $(CFLAGS) $(SOURCES) -o $@
37+
$(CC) $(CFLAGS) $(INCLUDES) $(SOURCES) -o $@
3738
$(STRIP) romheaders
38-
39+
3940
clean:
4041
rm -f *~
4142
rm -f romheaders
42-

0 commit comments

Comments
 (0)