]>
Commit | Line | Data |
---|---|---|
81148fa1 JW |
1 | CFLAGS=-I../include |
2 | CC=gcc | |
f603a589 | 3 | SMRAM_ICH2_OBJS=smram-linux-tool.o ../pci/pci-linux.o ../ich2/smram-ich2.noraw.o |
45096195 | 4 | PCI_OBJS=pci.o ../pci/pci-linux.o |
f603a589 | 5 | |
45096195 | 6 | all: smram-ich2 port pci |
f603a589 JW |
7 | |
8 | %.noraw.o: %.c | |
9 | gcc $(CFLAGS) -c -o $@ $< | |
81148fa1 JW |
10 | |
11 | smram-ich2: $(SMRAM_ICH2_OBJS) | |
f603a589 JW |
12 | gcc $(CFLAGS) -o smram-ich2 $(SMRAM_ICH2_OBJS) |
13 | ||
14 | port: port.o | |
15 | gcc -o port port.o | |
4122ee13 | 16 | |
45096195 JW |
17 | pci: $(PCI_OBJS) |
18 | gcc $(CFLAGS) -o pci $(PCI_OBJS) | |
19 | ||
4122ee13 JW |
20 | clean: |
21 | rm -f $(SMRAM_ICH2_OBJS) smram-ich2 |