X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=Makefile;h=e93f0a5809309975d7e808722ba769cf96600abc;hp=1d35c9d5756cf30b5a904a498d8e8db5721268df;hb=abb7221a797bb5332f9ff9346396beb4c95dcc34;hpb=1bd28ba3c43338724457bd2cfeb3c15c33347d39 diff --git a/Makefile b/Makefile index 1d35c9d..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 + +# 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 @@ -61,6 +69,10 @@ gamma_compression_effect_test: gamma_compression_effect_test.o $(TEST_OBJS) libm $(CXX) -o $@ $^ $(LDFLAGS) 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)