Aegisub/tests/Makefile

53 lines
1.3 KiB
Makefile
Raw Normal View History

include ../Makefile.inc
2014-03-31 18:59:09 +02:00
GTEST_ROOT = ../vendor/googletest
PROGRAM = run
LIBS += -L../libaegisub -laegisub -L../vendor/universalchardet -luniversalchardet $(LIBS_BOOST) $(LIBS_ICU)
LDFLAGS += -Wl,-rpath $(CURDIR)/../libaegisub $(LDFLAGS_ICONV)
CPPFLAGS += -I../src/include -I../libaegisub/include $(CFLAGS_ICONV) -I${GTEST_ROOT} -I${GTEST_ROOT}/include -I./support $(CPPFLAGS_BOOST)
CXXFLAGS += -Wno-unused-value -Wno-sign-compare
2014-04-25 17:44:11 +02:00
PRECOMPILED_HEADER_NAME = ../libaegisub/lagi_pre.h
ifeq (yes, $(BUILD_DARWIN))
LDFLAGS += -framework ApplicationServices -framework Foundation
endif
SRC = \
2013-01-31 15:39:31 +01:00
support/main.cpp \
support/util.cpp \
support/util_unix.cpp \
tests/access.cpp \
tests/cajun.cpp \
tests/color.cpp \
tests/dialogue_lexer.cpp \
tests/format.cpp \
2013-02-02 15:44:13 +01:00
tests/fs.cpp \
2013-01-31 15:39:31 +01:00
tests/hotkey.cpp \
tests/iconv.cpp \
tests/ifind.cpp \
tests/karaoke_matcher.cpp \
2013-01-31 15:39:31 +01:00
tests/keyframe.cpp \
tests/line_iterator.cpp \
tests/line_wrap.cpp \
tests/mru.cpp \
tests/option.cpp \
tests/path.cpp \
tests/signals.cpp \
tests/syntax_highlight.cpp \
tests/thesaurus.cpp \
tests/util.cpp \
tests/uuencode.cpp \
2013-01-31 15:39:31 +01:00
tests/vfr.cpp \
tests/word_split.cpp \
${GTEST_ROOT}/src/gtest-all.cc
2013-01-31 15:39:31 +01:00
HEADER = support/*.h tests/*.h
include ../Makefile.target
-include support/*.d
-include tests/*.d