Last active
November 1, 2015 11:09
-
-
Save gen2brain/89fe506863be3fb139e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- unarr.orig/Makefile 2015-11-01 12:08:32.554444837 +0100 | |
+++ unarr/Makefile 2015-11-01 12:05:33.071633495 +0100 | |
@@ -41,13 +41,16 @@ | |
# TODO: build zlib, bzip2 and 7z when available | |
+7Z_DIR := lzma920/C | |
+7Z_SRC := $(7Z_DIR)/7zBuf.c $(7Z_DIR)/7zDec.c $(7Z_DIR)/7zIn.c $(7Z_DIR)/7zStream.c $(7Z_DIR)/Bcj2.c $(7Z_DIR)/Bra.c $(7Z_DIR)/Bra86.c $(7Z_DIR)/Lzma2Dec.c | |
+ | |
# --- unarr files --- | |
UNARR_OUT := $(OUT)/unarr | |
-UNARR_DIRS := common lzmasdk rar tar zip _7z | |
+UNARR_DIRS := common lzmasdk rar tar zip _7z zlib-1.2.8 bzip2-1.0.6 | |
UNARR_SRC := $(wildcard $(UNARR_DIRS:=/*.c)) | |
-UNARR_OBJ := $(addprefix $(UNARR_OUT)/, $(addsuffix .o, $(basename $(UNARR_SRC)))) | |
+UNARR_OBJ := $(addprefix $(UNARR_OUT)/, $(addsuffix .o, $(basename $(UNARR_SRC))) $(addsuffix .o, $(basename $(7Z_SRC)))) | |
$(UNARR_OUT)/%.o : %.c | |
$(CC_CMD) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment