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