X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=Makefile;h=e93f0a5809309975d7e808722ba769cf96600abc;hp=1797de0086cb2c05b6a8fa88be6d452f44199436;hb=abb7221a797bb5332f9ff9346396beb4c95dcc34;hpb=5f8a5bfd39feb9822bb6184955a3653f4ef11dc9 diff --git a/Makefile b/Makefile index 1797de0..e93f0a5 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,15 @@ LDFLAGS += -fprofile-arcs -ftest-coverage endif DEMO_OBJS=demo.o -TESTS=effect_chain_test mix_effect_test gamma_expansion_effect_test gamma_compression_effect_test saturation_effect_test deconvolution_sharpen_effect_test + +# Unit tests. +TESTS=effect_chain_test +TESTS += mix_effect_test +TESTS += gamma_expansion_effect_test +TESTS += gamma_compression_effect_test +TESTS += saturation_effect_test +TESTS += deconvolution_sharpen_effect_test +TESTS += blur_effect_test # Core. LIB_OBJS=util.o widgets.o effect.o effect_chain.o @@ -63,6 +71,8 @@ saturation_effect_test: saturation_effect_test.o $(TEST_OBJS) libmovit.a $(CXX) -o $@ $^ $(LDFLAGS) deconvolution_sharpen_effect_test: deconvolution_sharpen_effect_test.o $(TEST_OBJS) libmovit.a $(CXX) -o $@ $^ $(LDFLAGS) +blur_effect_test: blur_effect_test.o $(TEST_OBJS) libmovit.a + $(CXX) -o $@ $^ $(LDFLAGS) OBJS=$(DEMO_OBJS) $(LIB_OBJS) $(TEST_OBJS) $(TESTS:=.o)