]>
Commit | Line | Data |
---|---|---|
1 | CFLAGS=-I../include | |
2 | CC=gcc | |
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 $@ $< | |
9 | ||
10 | smram-ich2: $(SMRAM_ICH2_OBJS) | |
11 | gcc $(CFLAGS) -o smram-ich2 $(SMRAM_ICH2_OBJS) | |
12 | ||
13 | port: port.o | |
14 | gcc -o port port.o | |
15 | ||
16 | clean: | |
17 | rm -f $(SMRAM_ICH2_OBJS) smram-ich2 |