From 91a8cb9559342835aa7506d90354e03dfe91f4f0 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Thu, 22 Oct 2020 00:20:40 -0700 Subject: [PATCH] fix DEBUGLEVEL redefinition from tests/ --- tests/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 $@