]> mj.ucw.cz Git - pciutils.git/blobdiff - Makefile
Fixed building on Cygwin.
[pciutils.git] / Makefile
index 45b8852c8e53ca59c1e8c596eeb803606fff8b54..67acf88a7b6c099226ecf28960a128d10eb60d61 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,12 +4,13 @@
 OPT=-O2
 CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes
 
-VERSION=3.0.1
-DATE=2008-09-11
+VERSION=3.0.2
+DATE=2008-09-19
 
 # Host OS and release (override if you are cross-compiling)
 HOST=
 RELEASE=
+CROSS_COMPILE=
 
 # Support for compressed pci.ids (yes/no, default: detect)
 ZLIB=
@@ -37,8 +38,9 @@ PKGCFDIR=$(LIBDIR)/pkgconfig
 INSTALL=install
 DIRINSTALL=install -d
 STRIP=-s
-AR=ar
-RANLIB=ranlib
+CC=$(CROSS_COMPILE)gcc
+AR=$(CROSS_COMPILE)ar
+RANLIB=$(CROSS_COMPILE)ranlib
 
 # Base name of the library (overriden on NetBSD, which has its own libpci)
 LIBNAME=libpci