summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a97c4ed..25cedbc 100644
--- a/Makefile
+++ b/Makefile
@@ -51,7 +51,7 @@ endif
.PHONY: default all lib lz4 clean test versionsTest examples
-default: lib lz4
+default: lib lz4-release
all:
@$(MAKE) -C $(LZ4DIR) $@
@@ -62,6 +62,10 @@ lib:
@$(MAKE) -C $(LZ4DIR)
lz4:
+ @$(MAKE) -C $(PRGDIR) $@
+ @cp $(PRGDIR)/lz4$(EXT) .
+
+lz4-release:
@$(MAKE) -C $(PRGDIR)
@cp $(PRGDIR)/lz4$(EXT) .