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