]> Joshua Wise's Git repositories - netwatch.git/blame - tools/Makefile
merge
[netwatch.git] / tools / Makefile
CommitLineData
81148fa1
JW
1CFLAGS=-I../include
2CC=gcc
f603a589 3SMRAM_ICH2_OBJS=smram-linux-tool.o ../pci/pci-linux.o ../ich2/smram-ich2.noraw.o
45096195 4PCI_OBJS=pci.o ../pci/pci-linux.o
f603a589 5
45096195 6all: smram-ich2 port pci
f603a589
JW
7
8%.noraw.o: %.c
9 gcc $(CFLAGS) -c -o $@ $<
81148fa1
JW
10
11smram-ich2: $(SMRAM_ICH2_OBJS)
f603a589
JW
12 gcc $(CFLAGS) -o smram-ich2 $(SMRAM_ICH2_OBJS)
13
14port: port.o
15 gcc -o port port.o
4122ee13 16
45096195
JW
17pci: $(PCI_OBJS)
18 gcc $(CFLAGS) -o pci $(PCI_OBJS)
19
4122ee13
JW
20clean:
21 rm -f $(SMRAM_ICH2_OBJS) smram-ich2
This page took 0.029187 seconds and 4 git commands to generate.