X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=Makefile.in;fp=Makefile.in;h=3a2461f41edf6a55d0d106aed69767b5a3a79b37;hb=5b6ab865efa692b25590f302c111b30680fbacdd;hp=fadd3a32200136573f58a8b013cf339032307867;hpb=4b2ecf9112a34baf2b41aeb4dffeaa698bb9f79a;p=movit diff --git a/Makefile.in b/Makefile.in index fadd3a3..3a2461f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -8,13 +8,17 @@ datarootdir = @datarootdir@ datadir = @datadir@ top_builddir = @top_builddir@ with_demo_app = @with_demo_app@ +with_SDL2 = @with_SDL2@ with_coverage = @with_coverage@ 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@ --tag=CXX RANLIB=ranlib