]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
make zstd a phony target at root
authorYann Collet <cyan@fb.com>
Mon, 7 Nov 2016 22:55:12 +0000 (14:55 -0800)
committerYann Collet <cyan@fb.com>
Mon, 7 Nov 2016 22:55:12 +0000 (14:55 -0800)
Makefile

index a57587341861ac74cd257c258b59173b8f8c58d7..856b1a07ba85b10db754994f6fc74ca78c3e0357 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -35,8 +35,9 @@ all:
 lib:
        @$(MAKE) -C $(ZSTDDIR)
 
+.PHONY: zstd
 zstd:
-       @$(MAKE) -C $(PRGDIR)
+       @$(MAKE) -C $(PRGDIR) $@
        cp $(PRGDIR)/zstd$(EXT) .
 
 .PHONY: zlibwrapper