summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouis P. Santillan <lpsantil@gmail.com>2015-05-26 04:48:40 (GMT)
committerLouis P. Santillan <lpsantil@gmail.com>2015-05-26 04:48:40 (GMT)
commit81d6b563412d9fe6b7fc6832778492a848494047 (patch)
tree989940bd7169991d45a5e76f7687fabe47d26be1
parentfaa0bce4ed4378e6ab76df0507fb65d3406afa2b (diff)
downloadlz4-81d6b563412d9fe6b7fc6832778492a848494047.zip
lz4-81d6b563412d9fe6b7fc6832778492a848494047.tar.gz
lz4-81d6b563412d9fe6b7fc6832778492a848494047.tar.bz2
Makefile cleanups to make building with Andrew Wu's build-djgpp cross compilers (and everyone else) simpler.
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 88c4016..b684ec9 100644
--- a/Makefile
+++ b/Makefile
@@ -60,9 +60,13 @@ endif
default: lz4programs
-all:
+all: lz4lib lz4programs
+
+lz4lib:
@cd $(LZ4DIR); $(MAKE) -e all
- @cd $(PRGDIR); $(MAKE) -e all
+
+lz4lib-djgpp:
+ @cd $(LZ4DIR); $(MAKE) -e liblz4-static
lz4programs:
@cd $(PRGDIR); $(MAKE) -e