From 3e7ef4fc9b3154d745a7225385a21d3c6e7ad7ca Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 21 Dec 2008 22:04:16 +0100 Subject: [PATCH] utils/Makefile: improve previous commit. --HG-- extra : convert_revision : c7cf3b365d26484d1451d478c9851beac86bb256 --- utils/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/Makefile b/utils/Makefile index c3c8075962c..edf83b14980 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -13,7 +13,7 @@ LIBXBPS_SO = $(LIBXBPS).$(MAJOR).$(MINOR).$(MICRO) LIBXBPS = libxbps.so LIBXBPS_LDFLAGS = -lprop -shared -Wl,-soname,$(LIBXBPS).$(MAJOR) -all: $(LIBXBPS_NAME) $(BINS) +all: $(LIBXBPS) $(BINS) .PHONY: all $(LIBXBPS): sha256.o plist.o @@ -21,16 +21,16 @@ $(LIBXBPS): sha256.o plist.o -ln -sf $(LIBXBPS_SO) $(LIBXBPS).$(MAJOR) -ln -sf $(LIBXBPS_SO) $(LIBXBPS) -xbps-bin: xbps-bin.o $(LIBXBPS) +xbps-bin: xbps-bin.o $(CC) $(LDFLAGS) $^ -o $@ xbps-cmpver: xbps-cmpver.o $(CC) $^ -o $@ -xbps-digest: xbps-digest.o $(LIBXBPS) +xbps-digest: xbps-digest.o $(CC) $(LDFLAGS) $^ -o $@ -xbps-pkgdb: xbps-pkgdb.o $(LIBXBPS) +xbps-pkgdb: xbps-pkgdb.o $(CC) $(LDFLAGS) $^ -o $@ .PHONY: clean