]> Joshua Wise's Git repositories - netwatch.git/blame_incremental - tools/Makefile
Make some documentation a bit more accurate.
[netwatch.git] / tools / Makefile
... / ...
CommitLineData
1-include ../config.mk
2
3CFLAGS=-I../include
4CC=$(CROSS)gcc
5SMRAM_ICH2_OBJS=smram-linux-tool.o ../pci/pci-linux.o ../ich2/smram-ich2.noraw.o
6PCI_OBJS=pci.o ../pci/pci-linux.o
7POKE_RLS_OBJS=poke-rls.o poke-rls-asm.o ../pci/pci-linux.o
8FROB_RLS_OBJS=frob-rls.o poke-rls-asm.o ../pci/pci-linux.o
9
10all: smram-ich2 port pci poke-rls
11
12%.noraw.o: %.c
13 $(CC) $(CFLAGS) -c -o $@ $<
14
15smram-ich2: $(SMRAM_ICH2_OBJS)
16 $(CC) $(CFLAGS) -o smram-ich2 $(SMRAM_ICH2_OBJS)
17
18port: port.o
19 $(CC) -o port port.o
20
21elfload: elfload.o
22 $(CC) -o elfload elfload.o
23
24pci: $(PCI_OBJS)
25 $(CC) $(CFLAGS) -o pci $(PCI_OBJS)
26
27frob-rls: $(FROB_RLS_OBJS)
28 $(CC) $(CFLAGS) -o frob-rls $(FROB_RLS_OBJS)
29
30clean:
31 rm -f $(SMRAM_ICH2_OBJS) smram-ich2
32
33poke:
This page took 0.024968 seconds and 4 git commands to generate.