44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# $Id$
|
|
include ../Makefile.inc
|
|
|
|
PROGRAM = run
|
|
|
|
LIBS += -L../libaegisub -laegisub -L../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
|
|
|
|
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/fs.cpp \
|
|
tests/hotkey.cpp \
|
|
tests/iconv.cpp \
|
|
tests/ifind.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
|