]> Joshua Wise's Git repositories - netwatch.git/blob - tools/Makefile
make static things static
[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
6 all: smram-ich2 port pci
7
8 %.noraw.o: %.c
9         gcc $(CFLAGS) -c -o $@ $<
10
11 smram-ich2: $(SMRAM_ICH2_OBJS)
12         gcc $(CFLAGS) -o smram-ich2 $(SMRAM_ICH2_OBJS)
13
14 port: port.o
15         gcc -o port port.o
16
17 pci: $(PCI_OBJS)
18         gcc $(CFLAGS) -o pci $(PCI_OBJS)
19
20 clean:
21         rm -f $(SMRAM_ICH2_OBJS) smram-ich2
This page took 0.026877 seconds and 4 git commands to generate.