Aegisub/aegisub/tools/Makefile
Thomas Goyne d9a2669389 Add tool to repack thesaurus dictionaries
The standard MyThes dictionaries include words that we don't support
(nearly half the entries in the English dictionary have speaces in them)
which waste space, and they aren't UTF-8 which slows down loading as we
need to convert them.

Knocks a total of 10 MB off the thesaurus dictionaries.
2013-12-24 09:23:49 -08:00

31 lines
741 B
Makefile

include ../Makefile.inc
PROGRAM = common-respack
SRC += common-respack.cpp
ifeq (yes, $(BUILD_DARWIN))
osx-bundle-restart-helper: osx-bundle-restart-helper.c
$(BIN_CC) -o osx-bundle-restart-helper osx-bundle-restart-helper.c
CLEANFILES += osx-bundle-restart-helper
all: osx-bundle-restart-helper
endif
CXXFLAGS += -I../libaegisub/include $(CFLAGS_ICU)
LIBS := -L../libaegisub -laegisub $(LIBS)
LIBS += $(LIBS_BOOST) $(LIBS_ICU) $(LIBS_LUA)
repack-thes-dict: repack-thes-dict.cpp
$(BIN_CXX) -o repack-thes-dict repack-thes-dict.cpp $(CXXFLAGS) $(LIBS)
EXTRA_DIST = \
osx-bundle-restart-helper.c \
osx-bundle.sh \
osx-bundle.sed.in \
osx-dmg.sh \
osx-fix-libs.py
DISTCLEANFILES= \
osx-bundle.sed
include ../Makefile.target