diff --git a/GNUmakefile b/GNUmakefile index 8c89f3b2..a4e67db4 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -448,7 +448,7 @@ $(SODIUM_OBJS): CFLAGS += \ -Wno-attributes \ -Ideps/libsodium/builds/msvc \ -Ideps/libsodium/src/libsodium/include/sodium -#(SODIUM_OBJS_unix): CFLAGS += \ +$(SODIUM_OBJS_unix): CFLAGS += \ -DHAVE_ALLOCA_H SQLITE_SOURCES := deps/sqlite/sqlite3.c @@ -700,7 +700,7 @@ PACKAGE_DIRS := \ deps/codemirror/ \ deps/lit/ -RAW_FILES := $(filter-out apps/gg% apps/welcome%, $(shell find $(PACKAGE_DIRS) -type f)) +RAW_FILES := $(filter-out apps/gg% apps/welcome% %.map, $(shell find $(PACKAGE_DIRS) -type f)) out/apk/TildeFriends-arm-debug.unsigned.apk: BUILD_TYPE := debug out/apk/TildeFriends-arm-release.unsigned.apk: BUILD_TYPE := release @@ -757,7 +757,7 @@ out/%.app/tildefriends.png: src/ios/tildefriends.png @cp -v $< $@ out/%/data.zip: $(RAW_FILES) - @zip -u $@ -q -9 -x '*.map' -r $(PACKAGE_DIRS) $(RAW_FILES) + @zip -u $@ -q -9 $(RAW_FILES) out/tildefriends-%.app/tildefriends: out/%/tildefriends out/tildefriends-%.app/Info.plist out/tildefriends-%.app/tildefriends.png out/tildefriends-%.app/data.zip @mkdir -p $(dir $@)