X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=Makefile.in;h=7b1698ed5a83d3ecff172f774476ffce4cfd6799;hp=63a69e7083c15bb9690e5523e066345e9160753d;hb=5ba8c08fc0ebf3afec0b2c094454dd702f1438a5;hpb=453aa5c00561e4c73297f69e9f7c492a678e9699 diff --git a/Makefile.in b/Makefile.in index 63a69e7..7b1698e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -8,14 +8,18 @@ datarootdir = @datarootdir@ datadir = @datadir@ top_builddir = @top_builddir@ with_demo_app = @with_demo_app@ +with_SDL2 = @with_SDL2@ CC=@CC@ CXX=@CXX@ -CXXFLAGS=-Wall @CXXFLAGS@ -I$(GTEST_DIR)/include @Eigen3_CFLAGS@ @GLEW_CFLAGS@ -LDFLAGS=@GLEW_LIBS@ @SDL_LIBS@ -lpthread -DEMO_LDLIBS=@SDL_image_LIBS@ -lrt -lpthread @libpng_LIBS@ +CXXFLAGS=-Wall @CXXFLAGS@ -I$(GTEST_DIR)/include @SDL2_CFLAGS@ @SDL_CFLAGS@ @Eigen3_CFLAGS@ @epoxy_CFLAGS@ +ifeq ($(with_SDL2),yes) +CXXFLAGS += -DHAVE_SDL2 +endif +LDFLAGS=@epoxy_LIBS@ @SDL2_LIBS@ @SDL_LIBS@ -lpthread +DEMO_LDLIBS=@SDL2_image_LIBS@ @SDL_image_LIBS@ -lrt -lpthread @libpng_LIBS@ SHELL=@SHELL@ -LIBTOOL=@LIBTOOL@ +LIBTOOL=@LIBTOOL@ --tag=CXX RANLIB=ranlib INSTALL=install MKDIR=mkdir @@ -126,7 +130,7 @@ check: $(TESTS) # You need to build with COVERAGE=1 to use this target. coverage: check lcov -d . -c -o movit.info - lcov --remove movit.info '*_test.cpp' 'test_util.*' widgets.cpp -o movit.info + lcov --remove movit.info '*_test.cpp' 'test_util.*' 'sandbox_effect.*' widgets.cpp -o movit.info genhtml -o coverage movit.info HDRS = effect_chain.h effect_util.h effect.h input.h image_format.h init.h util.h defs.h resource_pool.h