aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2024-02-18 12:04:28 +0100
committerMartin Mares <mj@ucw.cz>2024-02-18 12:04:28 +0100
commit1154602d08c2d8e4bcf04ea4420e1e261ca8b8f0 (patch)
tree6b7491b20e46e611d63192e1de32a48ea0ea3ea9
parent4606b5bbaee39fe0aecebe0baea1c73f34d7f124 (diff)
downloadpciutils-1154602d08c2d8e4bcf04ea4420e1e261ca8b8f0.tar.gz
Makefile: When linking pcilmr, specify library last
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cb002cb..2f25691 100644
--- a/Makefile
+++ b/Makefile
@@ -117,7 +117,7 @@ example.o: example.c $(PCIINC)
$(LMROBJS) pcilmr.o: CFLAGS+=-I .
$(LMROBJS): %.o: %.c $(LMRINC) $(PCIINC) pciutils.h
-pcilmr: pcilmr.o lib/$(PCIIMPLIB) $(LMROBJS) $(COMMON)
+pcilmr: pcilmr.o $(LMROBJS) $(COMMON) lib/$(PCIIMPLIB)
pcilmr.o: pcilmr.c $(LMRINC) $(PCIINC) pciutils.h
%$(EXEEXT): %.o