minor cleaning
This commit is contained in:
+4
-3
@@ -164,7 +164,8 @@ endif
|
||||
endif
|
||||
CPPFLAGS += -DZSTD_LEGACY_SUPPORT=$(ZSTD_LEGACY_SUPPORT)
|
||||
|
||||
ZSTD_OBJ := $(ZSTD_FILES:.c=.o)
|
||||
ZSTD_FULL_OBJ := $(ZSTD_FILES:.c=.o)
|
||||
ZSTD_LOCAL_OBJ := $(notdir $(ZSTD_FULL_OBJ))
|
||||
|
||||
vpath %.c ./common
|
||||
vpath %.c ./compress
|
||||
@@ -173,7 +174,7 @@ vpath %.c ./dictBuilder
|
||||
vpath %.c ./legacy
|
||||
vpath %.c ./deprecated
|
||||
|
||||
ZSTD_DYNLIB_OBJ := $(notdir $(ZSTD_OBJ))
|
||||
ZSTD_DYNLIB_OBJ := $(ZSTD_LOCAL_OBJ)
|
||||
|
||||
# macOS linker doesn't support -soname, and use different extension
|
||||
# see : https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/DynamicLibraryDesignGuidelines.html
|
||||
@@ -200,7 +201,7 @@ lib-all: all
|
||||
all: lib
|
||||
|
||||
libzstd.a: ARFLAGS = rcs
|
||||
libzstd.a: $(ZSTD_OBJ)
|
||||
libzstd.a: $(ZSTD_FULL_OBJ)
|
||||
@echo compiling static library
|
||||
$(Q)$(AR) $(ARFLAGS) $@ $^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user