]>
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 |
0889f342 | 5 | POKE_RLS_OBJS=poke-rls.o poke-rls-asm.o ../pci/pci-linux.o |
f603a589 | 6 | |
0889f342 | 7 | all: smram-ich2 port pci poke-rls |
f603a589 JW |
8 | |
9 | %.noraw.o: %.c | |
10 | gcc $(CFLAGS) -c -o $@ $< | |
81148fa1 JW |
11 | |
12 | smram-ich2: $(SMRAM_ICH2_OBJS) | |
f603a589 JW |
13 | gcc $(CFLAGS) -o smram-ich2 $(SMRAM_ICH2_OBJS) |
14 | ||
15 | port: port.o | |
16 | gcc -o port port.o | |
4122ee13 | 17 | |
45096195 JW |
18 | pci: $(PCI_OBJS) |
19 | gcc $(CFLAGS) -o pci $(PCI_OBJS) | |
20 | ||
0889f342 JP |
21 | poke-rls: $(POKE_RLS_OBJS) |
22 | gcc $(CFLAGS) -o poke-rls $(POKE_RLS_OBJS) | |
23 | ||
4122ee13 JW |
24 | clean: |
25 | rm -f $(SMRAM_ICH2_OBJS) smram-ich2 | |
0889f342 JP |
26 | |
27 | poke: |