Aegisub/aegisub/tests/Makefile
2013-02-06 13:22:34 -08:00

42 lines
1,009 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 -I./support
CXXFLAGS += -Wno-unused-value
ifeq (yes, $(BUILD_DARWIN))
LDFLAGS += -framework ApplicationServices -framework Foundation
endif
SRC = \
support/main.cpp \
support/util.cpp \
support/util_unix.cpp \
tests/access.cpp \
tests/cajun.cpp \
tests/color.cpp \
tests/dialogue_lexer.cpp \
tests/hotkey.cpp \
tests/iconv.cpp \
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/vfr.cpp \
tests/word_split.cpp \
${GTEST_ROOT}/src/gtest-all.cc
HEADER = support/*.h tests/*.h
include ../Makefile.target