X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=Makefile;h=228cb5693aaf7fa0297e295ec3539708eb1e67dc;hb=f2a77d0c820da6b8d7f9b425c96e4d2462900933;hp=11f15f19f2e7ab61fc51dccaba57f5c718f93136;hpb=0a4fae20efcafa60ec2f2efd2e7de81b863471b7;p=pciutils.git diff --git a/Makefile b/Makefile index 11f15f1..228cb56 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ # Makefile for The PCI Utilities -# (c) 1998--2022 Martin Mares +# (c) 1998--2023 Martin Mares OPT=-O2 CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -VERSION=3.8.0 -DATE=2022-04-18 +VERSION=3.10.0 +DATE=2023-05-01 # Host OS and release (override if you are cross-compiling) HOST= @@ -47,6 +47,7 @@ INSTALL=install DIRINSTALL=install -d STRIP=-s ifdef CROSS_COMPILE +STRIP+=--strip-program $(CROSS_COMPILE)strip CC=$(CROSS_COMPILE)gcc else CC=cc @@ -102,7 +103,7 @@ lspci$(EXEEXT): LDLIBS+=$(LIBKMOD_LIBS) ls-kernel.o: CFLAGS+=$(LIBKMOD_CFLAGS) update-pciids: update-pciids.sh - sed <$< >$@ "s@^DEST=.*@DEST=$(if $(IDSDIR),$(IDSDIR)/,)$(PCI_IDS)@;s@^PCI_COMPRESSED_IDS=.*@PCI_COMPRESSED_IDS=$(PCI_COMPRESSED_IDS)@" + sed <$< >$@ "s@^DEST=.*@DEST=$(if $(IDSDIR),$(IDSDIR)/,)$(PCI_IDS)@;s@^PCI_COMPRESSED_IDS=.*@PCI_COMPRESSED_IDS=$(PCI_COMPRESSED_IDS)@;s@VERSION=.*@VERSION=$(VERSION)@" chmod +x $@ # The example of use of libpci