Add libzstd.pc Build to More Aggregate Targets in Makefiles

This commit is contained in:
W. Felix Handte 2020-05-08 13:06:31 -04:00
parent 15561bcf74
commit 78aa9373cb
2 changed files with 7 additions and 4 deletions

View File

@ -45,7 +45,7 @@ allmost: allzstd zlibwrapper
# skip zwrapper, can't build that on alternate architectures without the proper zlib installed # skip zwrapper, can't build that on alternate architectures without the proper zlib installed
.PHONY: allzstd .PHONY: allzstd
allzstd: lib allzstd: lib-all
$(MAKE) -C $(PRGDIR) all $(MAKE) -C $(PRGDIR) all
$(MAKE) -C $(TESTDIR) all $(MAKE) -C $(TESTDIR) all
@ -55,7 +55,7 @@ all32:
$(MAKE) -C $(TESTDIR) all32 $(MAKE) -C $(TESTDIR) all32
.PHONY: lib lib-release libzstd.a .PHONY: lib lib-release libzstd.a
lib lib-release : lib lib-release lib-all :
@$(MAKE) -C $(ZSTDDIR) $@ @$(MAKE) -C $(ZSTDDIR) $@
.PHONY: zstd zstd-release .PHONY: zstd zstd-release

View File

@ -180,11 +180,14 @@ else
endif endif
.PHONY: default all clean install uninstall .PHONY: default lib-all all clean install uninstall
default: lib-release default: lib-release
all: lib # alias
lib-all: all
all: lib libzstd.pc
libzstd.a: ARFLAGS = rcs libzstd.a: ARFLAGS = rcs
libzstd.a: $(ZSTD_OBJ) libzstd.a: $(ZSTD_OBJ)