diff options
author | Yann Collet <Cyan4973@users.noreply.github.com> | 2016-11-04 20:54:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-04 20:54:19 (GMT) |
commit | 473acf5aa97ba28f1f079a0c37a78f12b5730695 (patch) | |
tree | bd3f5b73fabc831aafba686f6c7e055df20a5c0b /programs/Makefile | |
parent | 10c5d5eee3b1afad66b3c5c6ce7640484acbad77 (diff) | |
parent | fbede33fd7f98f62d89031b4ee29cffdc90cceb8 (diff) | |
download | lz4-473acf5aa97ba28f1f079a0c37a78f12b5730695.zip lz4-473acf5aa97ba28f1f079a0c37a78f12b5730695.tar.gz lz4-473acf5aa97ba28f1f079a0c37a78f12b5730695.tar.bz2 |
Merge pull request #252 from inikep/dev
Dev
Diffstat (limited to 'programs/Makefile')
-rw-r--r-- | programs/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/programs/Makefile b/programs/Makefile index ba01b40..39672b3 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -29,6 +29,7 @@ DESTDIR ?= PREFIX ?= /usr/local +VOID := /dev/null BINDIR := $(PREFIX)/bin MANDIR := $(PREFIX)/share/man/man1 LZ4DIR := ../lib @@ -43,10 +44,8 @@ FLAGS := $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) # Define *.exe as extension for Windows systems ifneq (,$(filter Windows%,$(OS))) EXT =.exe -VOID = nul else EXT = -VOID = /dev/null endif @@ -59,13 +58,13 @@ bins: lz4 lz4c all: bins m32 -lz4: $(LZ4DIR)/lz4.o $(LZ4DIR)/lz4hc.o $(LZ4DIR)/lz4frame.o $(LZ4DIR)/xxhash.o bench.o lz4io.o lz4cli.o +lz4: $(LZ4DIR)/lz4.o $(LZ4DIR)/lz4hc.o $(LZ4DIR)/lz4frame.o $(LZ4DIR)/xxhash.o bench.o lz4io.o lz4cli.o datagen.o $(CC) $(FLAGS) $^ -o $@$(EXT) -lz4c : $(LZ4DIR)/lz4.o $(LZ4DIR)/lz4hc.o $(LZ4DIR)/lz4frame.o $(LZ4DIR)/xxhash.o bench.o lz4io.o lz4cli.o +lz4c : $(LZ4DIR)/lz4.o $(LZ4DIR)/lz4hc.o $(LZ4DIR)/lz4frame.o $(LZ4DIR)/xxhash.o bench.o lz4io.o lz4cli.o datagen.o $(CC) $(FLAGS) -DENABLE_LZ4C_LEGACY_OPTIONS $^ -o $@$(EXT) -lz4c32: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/lz4frame.c $(LZ4DIR)/xxhash.c bench.c lz4io.c lz4cli.c +lz4c32: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/lz4frame.c $(LZ4DIR)/xxhash.c bench.c lz4io.c lz4cli.c datagen.c $(CC) -m32 $(FLAGS) -DENABLE_LZ4C_LEGACY_OPTIONS $^ -o $@$(EXT) clean: |