2014-11-28 20:13:39 +01:00
|
|
|
From: Jan Engelhardt <jengelh@inai.de>
|
|
|
|
Date: 2014-10-01 14:23:22.000000000 +0200
|
|
|
|
|
2016-04-02 21:30:27 +02:00
|
|
|
build: make programs use liblz too instead of duplicating object code.
|
2014-11-28 20:13:39 +01:00
|
|
|
|
2014-07-16 16:42:40 +02:00
|
|
|
---
|
|
|
|
programs/Makefile | 8 ++++----
|
|
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
|
2016-04-02 21:30:27 +02:00
|
|
|
Index: lz4-r131/programs/Makefile
|
2014-07-16 16:42:40 +02:00
|
|
|
===================================================================
|
2016-04-02 21:30:27 +02:00
|
|
|
--- lz4-r131.orig/programs/Makefile
|
|
|
|
+++ lz4-r131/programs/Makefile
|
|
|
|
@@ -72,11 +72,11 @@ bins: lz4 lz4c fullbench fuzzer frametes
|
2014-07-16 16:42:40 +02:00
|
|
|
|
2016-04-02 21:30:27 +02:00
|
|
|
all: bins m32
|
2014-07-16 16:42:40 +02:00
|
|
|
|
2016-04-02 21:30:27 +02:00
|
|
|
-lz4: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/lz4frame.c $(LZ4DIR)/xxhash.c bench.c lz4io.c lz4cli.c
|
2014-07-16 16:42:40 +02:00
|
|
|
- $(CC) $(FLAGS) $^ -o $@$(EXT)
|
2016-04-02 21:30:27 +02:00
|
|
|
+lz4: bench.c lz4io.c lz4cli.c
|
2014-07-16 16:42:40 +02:00
|
|
|
+ $(CC) $(FLAGS) $^ -o $@$(EXT) -L${LZ4DIR} -llz4
|
|
|
|
|
2016-04-02 21:30:27 +02:00
|
|
|
-lz4c : $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/lz4frame.c $(LZ4DIR)/xxhash.c bench.c lz4io.c lz4cli.c
|
|
|
|
- $(CC) $(FLAGS) -DENABLE_LZ4C_LEGACY_OPTIONS $^ -o $@$(EXT)
|
|
|
|
+lz4c : bench.c lz4io.c lz4cli.c
|
|
|
|
+ $(CC) $(FLAGS) -DENABLE_LZ4C_LEGACY_OPTIONS $^ -o $@$(EXT) -L${LZ4DIR} -llz4
|
|
|
|
|
|
|
|
lz4c32: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/lz4frame.c $(LZ4DIR)/xxhash.c bench.c lz4io.c lz4cli.c
|
|
|
|
$(CC) -m32 $(FLAGS) -DENABLE_LZ4C_LEGACY_OPTIONS $^ -o $@$(EXT)
|