utils/Makefile: improve previous commit.
--HG-- extra : convert_revision : c7cf3b365d26484d1451d478c9851beac86bb256
This commit is contained in:
parent
4053dc4789
commit
3e7ef4fc9b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue