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