diff --git a/Makefile b/Makefile index 14419fea..2c1d3460 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ allmost: allzstd zlibwrapper # skip zwrapper, can't build that on alternate architectures without the proper zlib installed .PHONY: allzstd -allzstd: lib +allzstd: lib-all $(MAKE) -C $(PRGDIR) all $(MAKE) -C $(TESTDIR) all @@ -55,7 +55,7 @@ all32: $(MAKE) -C $(TESTDIR) all32 .PHONY: lib lib-release libzstd.a -lib lib-release : +lib lib-release lib-all : @$(MAKE) -C $(ZSTDDIR) $@ .PHONY: zstd zstd-release diff --git a/lib/Makefile b/lib/Makefile index 02e2f01a..0a01ffc6 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -180,11 +180,14 @@ else endif -.PHONY: default all clean install uninstall +.PHONY: default lib-all all clean install uninstall default: lib-release -all: lib +# alias +lib-all: all + +all: lib libzstd.pc libzstd.a: ARFLAGS = rcs libzstd.a: $(ZSTD_OBJ)