2010-12-05 20:12:42 +01:00
|
|
|
# $Id$
|
|
|
|
include ../Makefile.inc
|
|
|
|
|
|
|
|
PROGRAM = run
|
|
|
|
|
2012-11-07 16:37:46 +01:00
|
|
|
LIBS += -L../libaegisub -laegisub -L../universalchardet -luniversalchardet
|
2011-12-22 22:24:40 +01:00
|
|
|
LDFLAGS += -Wl,-rpath $(CURDIR)/../libaegisub $(LDFLAGS_ICONV)
|
2010-12-05 20:12:42 +01:00
|
|
|
|
2013-01-31 15:39:31 +01:00
|
|
|
CPPFLAGS += -I../src/include -I../libaegisub/include $(CFLAGS_ICONV) -I${GTEST_ROOT} -I${GTEST_ROOT}/include -I./support
|
2012-01-08 02:04:05 +01:00
|
|
|
CXXFLAGS += -Wno-unused-value
|
2010-12-05 20:12:42 +01:00
|
|
|
|
2012-03-12 00:04:42 +01:00
|
|
|
ifeq (yes, $(BUILD_DARWIN))
|
2013-01-04 16:01:50 +01:00
|
|
|
LDFLAGS += -framework ApplicationServices -framework Foundation
|
2010-12-05 20:12:42 +01:00
|
|
|
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/hotkey.cpp \
|
|
|
|
tests/iconv.cpp \
|
2013-01-30 16:26:16 +01:00
|
|
|
tests/ifind.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/vfr.cpp \
|
|
|
|
tests/word_split.cpp \
|
2012-11-07 16:37:46 +01:00
|
|
|
${GTEST_ROOT}/src/gtest-all.cc
|
2012-11-07 01:26:00 +01:00
|
|
|
|
2013-01-31 15:39:31 +01:00
|
|
|
HEADER = support/*.h tests/*.h
|
2010-12-05 20:12:42 +01:00
|
|
|
|
|
|
|
include ../Makefile.target
|