From f212a10ae01f8bd1fe33d36ef51574a7e3215a02 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Tue, 29 Aug 2017 15:31:56 -0700 Subject: fixed FS-independent file order in /lib identified by @bmwiedemann --- lib/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Makefile b/lib/Makefile index ed546dd..5907aac 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -84,14 +84,14 @@ all: lib all32: CFLAGS+=-m32 all32: all -liblz4.a: *.c +liblz4.a: $(SRCFILES) ifeq ($(BUILD_STATIC),yes) # can be disabled on command line @echo compiling static library @$(CC) $(CPPFLAGS) $(CFLAGS) -c $^ @$(AR) rcs $@ *.o endif -$(LIBLZ4): *.c +$(LIBLZ4): $(SRCFILES) @echo compiling dynamic library $(LIBVER) ifneq (,$(filter Windows%,$(OS))) @$(CC) $(FLAGS) -DLZ4_DLL_EXPORT=1 -shared $^ -o dll\$@.dll -- cgit v0.12