]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
consolidated vpath
authorYann Collet <yann.collet.73@gmail.com>
Wed, 21 Oct 2020 11:01:01 +0000 (04:01 -0700)
committerYann Collet <yann.collet.73@gmail.com>
Wed, 21 Oct 2020 11:01:01 +0000 (04:01 -0700)
lib/Makefile

index 4f4ae57aaee5b12c7256f1829e04c4a2f5057a07..61f80e6e5b0d873fa9b3cb930387c9dcd45c19b4 100644 (file)
 
 Q = $(if $(filter 1,$(V) $(VERBOSE)),,@)
 
-# When cross-compiling from linux to windows, you might
-# need to specify this as "Windows." Fedora build fails
-# without it.
+# When cross-compiling from linux to windows,
+# you might need to specify this as "Windows."
+# Fedora build fails without it.
 #
-# Note: mingw-w64 build from linux to windows does not
-# fail on other tested distros (ubuntu, debian) even
-# without manually specifying the TARGET_SYSTEM.
+# Note: mingw-w64 build from linux to windows
+# does not fail on other tested distros (ubuntu, debian)
+# even without manually specifying the TARGET_SYSTEM.
 TARGET_SYSTEM ?= $(OS)
 
 # Version numbers
@@ -167,12 +167,7 @@ CPPFLAGS  += -DZSTD_LEGACY_SUPPORT=$(ZSTD_LEGACY_SUPPORT)
 ZSTD_FULL_OBJ  := $(ZSTD_FILES:.c=.o)
 ZSTD_LOCAL_OBJ := $(notdir $(ZSTD_FULL_OBJ))
 
-vpath %.c ./common
-vpath %.c ./compress
-vpath %.c ./decompress
-vpath %.c ./dictBuilder
-vpath %.c ./legacy
-vpath %.c ./deprecated
+vpath %.c common compress decompress dictBuilder legacy deprecated
 
 ZSTD_DYNLIB_DIR := obj/dynlib
 ZSTD_DYNLIB_OBJ := $(addprefix $(ZSTD_DYNLIB_DIR)/, $(ZSTD_LOCAL_OBJ))