]> Joshua Wise's Git repositories - netwatch.git/blame_incremental - tools/Makefile
Add the mechanism by which we bother PCI, generically.
[netwatch.git] / tools / Makefile
... / ...
CommitLineData
1CFLAGS=-I../include
2CC=gcc
3SMRAM_ICH2_OBJS=smram-linux-tool.o ../pci/pci-linux.o ../ich2/smram-ich2.noraw.o
4PCI_OBJS=pci.o ../pci/pci-linux.o
5POKE_RLS_OBJS=poke-rls.o poke-rls-asm.o ../pci/pci-linux.o
6
7all: smram-ich2 port pci poke-rls
8
9%.noraw.o: %.c
10 gcc $(CFLAGS) -c -o $@ $<
11
12smram-ich2: $(SMRAM_ICH2_OBJS)
13 gcc $(CFLAGS) -o smram-ich2 $(SMRAM_ICH2_OBJS)
14
15port: port.o
16 gcc -o port port.o
17
18pci: $(PCI_OBJS)
19 gcc $(CFLAGS) -o pci $(PCI_OBJS)
20
21poke-rls: $(POKE_RLS_OBJS)
22 gcc $(CFLAGS) -o poke-rls $(POKE_RLS_OBJS)
23
24clean:
25 rm -f $(SMRAM_ICH2_OBJS) smram-ich2
26
27poke:
This page took 0.020248 seconds and 4 git commands to generate.