Split up superiotool.c into multiple source files, one per vendor.
As there will be lots more supported Super I/Os soon, the file is really getting way too big... Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2777 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -28,16 +28,18 @@ PREFIX = /usr/local
|
||||
CFLAGS = -O2 -Wall -Werror -Wstrict-prototypes -Wundef -Wstrict-aliasing \
|
||||
-Werror-implicit-function-declaration
|
||||
|
||||
OBJS = fintek.o ite.o nsc.o superiotool.o
|
||||
|
||||
all: $(PROGRAM)
|
||||
|
||||
$(PROGRAM): $(PROGRAM).c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
$(PROGRAM): $(OBJS)
|
||||
$(CC) $(CFLAGS) -o $(PROGRAM) $(OBJS)
|
||||
|
||||
install: $(PROGRAM)
|
||||
$(INSTALL) $(PROGRAM) $(PREFIX)/bin
|
||||
|
||||
clean:
|
||||
rm -f $(PROGRAM)
|
||||
rm -f $(PROGRAM) *.o
|
||||
|
||||
.PHONY: all install clean
|
||||
|
||||
|
Reference in New Issue
Block a user