summaryrefslogtreecommitdiff
path: root/util/superiotool/Makefile
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2007-09-16 18:11:03 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-09-16 18:11:03 +0000
commit0120e1a3d8ebb450aed5016b4653ce4a7524295e (patch)
treecffb03aa0046ef64b42700a1ab47f6caf7fa9967 /util/superiotool/Makefile
parent18c70d7222bcea65d08e1ff879d8f69f2705e7ab (diff)
downloadcoreboot-0120e1a3d8ebb450aed5016b4653ce4a7524295e.tar.xz
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
Diffstat (limited to 'util/superiotool/Makefile')
-rw-r--r--util/superiotool/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/util/superiotool/Makefile b/util/superiotool/Makefile
index fa9853a90b..cf96d67c7a 100644
--- a/util/superiotool/Makefile
+++ b/util/superiotool/Makefile
@@ -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