]> Joshua Wise's Git repositories - netwatch.git/blob - tools/Makefile
add poke-rls tool
[netwatch.git] / tools / Makefile
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 PCI_OBJS=pci.o ../pci/pci-linux.o
5 POKE_RLS_OBJS=poke-rls.o poke-rls-asm.o ../pci/pci-linux.o
6
7 all: smram-ich2 port pci poke-rls
8
9 %.noraw.o: %.c
10         gcc $(CFLAGS) -c -o $@ $<
11
12 smram-ich2: $(SMRAM_ICH2_OBJS)
13         gcc $(CFLAGS) -o smram-ich2 $(SMRAM_ICH2_OBJS)
14
15 port: port.o
16         gcc -o port port.o
17
18 pci: $(PCI_OBJS)
19         gcc $(CFLAGS) -o pci $(PCI_OBJS)
20
21 poke-rls: $(POKE_RLS_OBJS)
22         gcc $(CFLAGS) -o poke-rls $(POKE_RLS_OBJS)
23
24 clean:
25         rm -f $(SMRAM_ICH2_OBJS) smram-ich2
26
27 poke:
This page took 0.025102 seconds and 4 git commands to generate.