X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/434f1ddc94acd188ebbea1deae6c3cb67caf2275..94d78d15691f3e6ac4c4797bb21ffcf8f9cc4a39:/tools/Makefile?ds=sidebyside diff --git a/tools/Makefile b/tools/Makefile index 7402d79..c53fd4a 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -1,8 +1,9 @@ CFLAGS=-I../include CC=gcc SMRAM_ICH2_OBJS=smram-linux-tool.o ../pci/pci-linux.o ../ich2/smram-ich2.noraw.o +PCI_OBJS=pci.o ../pci/pci-linux.o -all: smram-ich2 port +all: smram-ich2 port pci %.noraw.o: %.c gcc $(CFLAGS) -c -o $@ $< @@ -13,5 +14,8 @@ smram-ich2: $(SMRAM_ICH2_OBJS) port: port.o gcc -o port port.o +pci: $(PCI_OBJS) + gcc $(CFLAGS) -o pci $(PCI_OBJS) + clean: rm -f $(SMRAM_ICH2_OBJS) smram-ich2