summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2016-11-17 21:02:06 (GMT)
committerYann Collet <cyan@fb.com>2016-11-17 21:02:06 (GMT)
commit1abecbc33c8ec5b84d2623dcbe73136aeb99db37 (patch)
tree398361394772160cd31cbc2b496d4814484fcb10 /Makefile
parent7fde7438d39f8452f89e3fee5ba4a16c502dffb0 (diff)
downloadlz4-1abecbc33c8ec5b84d2623dcbe73136aeb99db37.zip
lz4-1abecbc33c8ec5b84d2623dcbe73136aeb99db37.tar.gz
lz4-1abecbc33c8ec5b84d2623dcbe73136aeb99db37.tar.bz2
fix 32-bits mode.
Large File support for Mac OS-X in 32-bits mode Fixed potential undefined behavior Changed makefile for 32-bits mode
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c6454b0..cbf0932 100644
--- a/Makefile
+++ b/Makefile
@@ -36,8 +36,8 @@ VOID := /dev/null
LIBDIR ?= $(PREFIX)/lib
INCLUDEDIR=$(PREFIX)/include
-PRGDIR = programs
LZ4DIR = lib
+PRGDIR = programs
TESTDIR = tests
@@ -51,12 +51,15 @@ endif
.PHONY: default all lib lz4 clean test versionsTest examples
-default: lz4
+default: lib lz4
-all: lib lz4
+all:
+ @$(MAKE) -C $(LZ4DIR) $@
+ @$(MAKE) -C $(PRGDIR) $@
+ @$(MAKE) -C $(TESTDIR) $@
lib:
- @$(MAKE) -C $(LZ4DIR) all
+ @$(MAKE) -C $(LZ4DIR)
lz4:
@$(MAKE) -C $(PRGDIR)