]> Joshua Wise's Git repositories - netwatch.git/blame - tools/Makefile
add watcher
[netwatch.git] / tools / Makefile
CommitLineData
81148fa1
JW
1CFLAGS=-I../include
2CC=gcc
f603a589 3SMRAM_ICH2_OBJS=smram-linux-tool.o ../pci/pci-linux.o ../ich2/smram-ich2.noraw.o
45096195 4PCI_OBJS=pci.o ../pci/pci-linux.o
0889f342 5POKE_RLS_OBJS=poke-rls.o poke-rls-asm.o ../pci/pci-linux.o
f603a589 6
0889f342 7all: smram-ich2 port pci poke-rls
f603a589
JW
8
9%.noraw.o: %.c
10 gcc $(CFLAGS) -c -o $@ $<
81148fa1
JW
11
12smram-ich2: $(SMRAM_ICH2_OBJS)
f603a589
JW
13 gcc $(CFLAGS) -o smram-ich2 $(SMRAM_ICH2_OBJS)
14
15port: port.o
16 gcc -o port port.o
4122ee13 17
45096195
JW
18pci: $(PCI_OBJS)
19 gcc $(CFLAGS) -o pci $(PCI_OBJS)
20
0889f342
JP
21poke-rls: $(POKE_RLS_OBJS)
22 gcc $(CFLAGS) -o poke-rls $(POKE_RLS_OBJS)
23
4122ee13
JW
24clean:
25 rm -f $(SMRAM_ICH2_OBJS) smram-ich2
0889f342
JP
26
27poke:
This page took 0.026747 seconds and 4 git commands to generate.