]> Joshua Wise's Git repositories - netwatch.git/blame_incremental - tools/Makefile
Merge branch 'master' of git+ssh://jacob@git.joshuawise.com/storage/git/netwatch
[netwatch.git] / tools / Makefile
... / ...
CommitLineData
1CFLAGS=-I../include
2CC=gcc
3SMRAM_ICH2_OBJS=smram-linux-tool.o ../pci/pci-linux.o ../ich2/smram-ich2.noraw.o
4PCI_OBJS=pci.o ../pci/pci-linux.o
5POKE_RLS_OBJS=poke-rls.o poke-rls-asm.o ../pci/pci-linux.o
6FROB_RLS_OBJS=frob-rls.o poke-rls-asm.o ../pci/pci-linux.o
7
8all: smram-ich2 port pci poke-rls
9
10%.noraw.o: %.c
11 gcc $(CFLAGS) -c -o $@ $<
12
13smram-ich2: $(SMRAM_ICH2_OBJS)
14 gcc $(CFLAGS) -o smram-ich2 $(SMRAM_ICH2_OBJS)
15
16port: port.o
17 gcc -o port port.o
18
19pci: $(PCI_OBJS)
20 gcc $(CFLAGS) -o pci $(PCI_OBJS)
21
22frob-rls: $(FROB_RLS_OBJS)
23 gcc $(CFLAGS) -o frob-rls $(FROB_RLS_OBJS)
24
25clean:
26 rm -f $(SMRAM_ICH2_OBJS) smram-ich2
27
28poke:
This page took 0.02248 seconds and 4 git commands to generate.