X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=Makefile.in;h=ea764650fe938a790f24ca18069cdebb5e30cae2;hb=15daf781e6ce00ec37ca806a16e490d59dcb4e24;hp=3a1674b5e2ec6beae582eaebf2a1addbf2734952;hpb=860d514c63758cb91eb301ce4dc08bb984a835b0;p=movit diff --git a/Makefile.in b/Makefile.in index 3a1674b..ea76465 100644 --- a/Makefile.in +++ b/Makefile.in @@ -8,12 +8,16 @@ 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@ --tag=CXX RANLIB=ranlib