X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=Makefile.in;h=f88fd5ad05a8c0fa309d91a9738d100b93b10771;hb=46b71a42ad1f9085badb06ec33219507db597a87;hp=63a69e7083c15bb9690e5523e066345e9160753d;hpb=453aa5c00561e4c73297f69e9f7c492a678e9699;p=movit diff --git a/Makefile.in b/Makefile.in index 63a69e7..f88fd5a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -15,7 +15,7 @@ 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@ SHELL=@SHELL@ -LIBTOOL=@LIBTOOL@ +LIBTOOL=@LIBTOOL@ --tag=CXX RANLIB=ranlib INSTALL=install MKDIR=mkdir @@ -55,6 +55,9 @@ TESTED_EFFECTS += dither_effect TESTED_EFFECTS += deconvolution_sharpen_effect TESTED_EFFECTS += fft_pass_effect TESTED_EFFECTS += vignette_effect +TESTED_EFFECTS += slice_effect +TESTED_EFFECTS += complex_modulate_effect +TESTED_EFFECTS += luma_mix_effect UNTESTED_EFFECTS = sandbox_effect UNTESTED_EFFECTS += mirror_effect @@ -64,9 +67,9 @@ UNTESTED_EFFECTS += multiply_effect EFFECTS = $(TESTED_EFFECTS) $(UNTESTED_EFFECTS) # Unit tests. -TESTS=effect_chain_test $(TESTED_INPUTS:=_test) $(TESTED_EFFECTS:=_test) +TESTS=effect_chain_test fp16_test $(TESTED_INPUTS:=_test) $(TESTED_EFFECTS:=_test) -LIB_OBJS=effect_util.o util.o widgets.o effect.o effect_chain.o init.o resource_pool.o $(INPUTS:=.o) $(EFFECTS:=.o) +LIB_OBJS=effect_util.o util.o widgets.o effect.o effect_chain.o init.o resource_pool.o fp16.o $(INPUTS:=.o) $(EFFECTS:=.o) # Default target: all: libmovit.la $(TESTS) @@ -99,10 +102,11 @@ libmovit.la: $(LIB_OBJS:.o=.lo) %.lo: %.cpp $(LIBTOOL) --mode=compile $(CXX) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $< + sed 's/\.o:/\.lo:/' < $(@:.lo=.d) > $(@:.lo=.ld) %.o: %.cpp $(CXX) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $< -DEPS=$(OBJS:.o=.d) +DEPS=$(OBJS:.o=.d) $(OBJS:.o=.ld) -include $(DEPS) clean: @@ -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