libdir = @libdir@
datarootdir = @datarootdir@
datadir = @datadir@
+with_demo_app = @with_demo_app@
CC=@CC@
CXX=@CXX@
UNTESTED_EFFECTS += mirror_effect
UNTESTED_EFFECTS += resize_effect
UNTESTED_EFFECTS += vignette_effect
+UNTESTED_EFFECTS += multiply_effect
EFFECTS = $(TESTED_EFFECTS) $(UNTESTED_EFFECTS)
LIB_OBJS=effect_util.o util.o widgets.o effect.o effect_chain.o init.o $(INPUTS:=.o) $(EFFECTS:=.o)
# Default target:
-all: $(TESTS) demo
+all: libmovit.a $(TESTS)
+
+ifeq ($(with_demo_app),yes)
+all: demo
+endif
# Google Test and other test library functions.
TEST_OBJS = gtest-all.o gtest_sdl_main.o test_util.o
lcov --remove movit.info '*_test.cpp' '*/test_util.{cpp,h}' -o movit.info
genhtml -o coverage movit.info
-HDRS = effect_chain.h effect.h input.h image_format.h init.h util.h
+HDRS = effect_chain.h effect_util.h effect.h input.h image_format.h init.h util.h defs.h
HDRS += $(INPUTS:=.h)
HDRS += $(EFFECTS:=.h)