]> Joshua Wise's Git repositories - netwatch.git/blame - tools/Makefile
Ass.
[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
50d89a31 6FROB_RLS_OBJS=frob-rls.o poke-rls-asm.o ../pci/pci-linux.o
f603a589 7
0889f342 8all: smram-ich2 port pci poke-rls
f603a589
JW
9
10%.noraw.o: %.c
11 gcc $(CFLAGS) -c -o $@ $<
81148fa1
JW
12
13smram-ich2: $(SMRAM_ICH2_OBJS)
f603a589
JW
14 gcc $(CFLAGS) -o smram-ich2 $(SMRAM_ICH2_OBJS)
15
16port: port.o
17 gcc -o port port.o
4122ee13 18
45096195
JW
19pci: $(PCI_OBJS)
20 gcc $(CFLAGS) -o pci $(PCI_OBJS)
21
50d89a31
JP
22frob-rls: $(FROB_RLS_OBJS)
23 gcc $(CFLAGS) -o frob-rls $(FROB_RLS_OBJS)
0889f342 24
4122ee13
JW
25clean:
26 rm -f $(SMRAM_ICH2_OBJS) smram-ich2
0889f342
JP
27
28poke:
This page took 0.029222 seconds and 4 git commands to generate.