]> mj.ucw.cz Git - pciutils.git/blob - Makefile
Beginning of the history.
[pciutils.git] / Makefile
1 # $Id: Makefile,v 1.1 1997/12/23 10:29:18 mj Exp $
2 # Makefile for Linux PCI Utilities
3 # (c) 1997 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
4
5 OPT=-O2 -m486 -malign-loops=0 -malign-jumps=0 -malign-functions=2 -fno-strength-reduce
6 #-fomit-frame-pointer
7 #LOPT=-s
8 #DEBUG=-ggdb
9 #LDEBUG=-lefence
10 CFLAGS=$(OPT) $(DEBUG) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wno-unused -Werror
11 LDFLAGS=$(LOPT) $(LDEBUG)
12
13 all: lspci
14
15 lspci: lspci.o names.o
16
17 lspci.o: lspci.c pciutils.h
18 names.o: names.c pciutils.h
19
20 clean:
21         rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core`
22         rm -f lspci