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