From: Yann Collet Date: Thu, 22 Oct 2020 07:20:40 +0000 (-0700) Subject: fix DEBUGLEVEL redefinition from tests/ X-Git-Tag: v1.4.7~46^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91a8cb9559342835aa7506d90354e03dfe91f4f0;p=thirdparty%2Fzstd.git fix DEBUGLEVEL redefinition from tests/ --- diff --git a/tests/Makefile b/tests/Makefile index ff67ead9c..c39c5ca0f 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -94,7 +94,7 @@ allnothread: fullbench fuzzer paramgrill datagen decodecorpus # note : broken : requires symbols unavailable from dynamic library dll: fuzzer-dll zstreamtest-dll -PHONY: zstd zstd32 zstd-nolegacy # must be phony, only external makefile knows how to build them, or if they need an update +PHONY: zstd zstd32 zstd-nolegacy # phony: only external makefile knows how to build or update them zstd zstd32 zstd-nolegacy: $(MAKE) -C $(PRGDIR) $@ MOREFLAGS+="$(DEBUGFLAGS)" DEBUGLEVEL=$(DEBUGLEVEL) @@ -103,14 +103,14 @@ gzstd: .PHONY: libzstd libzstd : - $(MAKE) -C $(ZSTDDIR) libzstd + $(MAKE) -C $(ZSTDDIR) libzstd DEBUGLEVEL=$(DEBUGLEVEL) %-dll : libzstd %-dll : LDFLAGS+= -L$(ZSTDDIR) -lzstd .PHONY: zstd-staticLib zstd-staticLib : - $(MAKE) -C $(ZSTDDIR) libzstd.a + $(MAKE) -C $(ZSTDDIR) libzstd.a DEBUGLEVEL=$(DEBUGLEVEL) zstdm_%.o : $(ZSTDDIR)/common/%.c $(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@