forked from mia/Aegisub
9c37a50b4d
1.6.0 removed support for 'make install' as the maintainers are apparently unaware that their library is not actually a unique snowflake and that having to use identical compilation settings for every library is in fact a completely normal thing for C++ libraries that people somehow manage to deal with. Building the tests now requires passing the root directory of a copy of the googletest source to make, via 'make GTEST_ROOT=~/path/to/gtest'.
41 lines
966 B
Makefile
41 lines
966 B
Makefile
# $Id$
|
|
include ../Makefile.inc
|
|
|
|
PROGRAM = run
|
|
|
|
LIBS += -L../libaegisub -laegisub -L../universalchardet -luniversalchardet
|
|
LDFLAGS += -Wl,-rpath $(CURDIR)/../libaegisub $(LDFLAGS_ICONV)
|
|
|
|
CPPFLAGS += -I../src/include -I../libaegisub/include $(CFLAGS_ICONV) -I${GTEST_ROOT} -I${GTEST_ROOT}/include
|
|
CXXFLAGS += -Wno-unused-value
|
|
|
|
ifeq (yes, $(BUILD_DARWIN))
|
|
LDFLAGS += -framework ApplicationServices
|
|
endif
|
|
|
|
SRC = \
|
|
main.cpp \
|
|
util.cpp \
|
|
util_unix.cpp \
|
|
libaegisub_access.cpp \
|
|
libaegisub_cajun.cpp \
|
|
libaegisub_color.cpp \
|
|
libaegisub_dialogue_lexer.cpp \
|
|
libaegisub_hotkey.cpp \
|
|
libaegisub_iconv.cpp \
|
|
libaegisub_keyframe.cpp \
|
|
libaegisub_line_iterator.cpp \
|
|
libaegisub_line_wrap.cpp \
|
|
libaegisub_option.cpp \
|
|
libaegisub_mru.cpp \
|
|
libaegisub_signals.cpp \
|
|
libaegisub_thesaurus.cpp \
|
|
libaegisub_util.cpp \
|
|
libaegisub_vfr.cpp \
|
|
libaegisub_word_split.cpp \
|
|
${GTEST_ROOT}/src/gtest-all.cc
|
|
|
|
HEADER = \
|
|
*.h
|
|
|
|
include ../Makefile.target
|