X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=Makefile;h=42d8cc613e74ed566335fcfde23aca3b2666c025;hp=1d35c9d5756cf30b5a904a498d8e8db5721268df;hb=b5ad8cf45cdf070361a7035a4ddbe2053e696795;hpb=1bd28ba3c43338724457bd2cfeb3c15c33347d39 diff --git a/Makefile b/Makefile index 1d35c9d..42d8cc6 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,16 @@ 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 +TESTS += unsharp_mask_effect_test # Core. LIB_OBJS=util.o widgets.o effect.o effect_chain.o @@ -61,6 +70,12 @@ 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) +unsharp_mask_effect_test: unsharp_mask_effect_test.o $(TEST_OBJS) libmovit.a + $(CXX) -o $@ $^ $(LDFLAGS) OBJS=$(DEMO_OBJS) $(LIB_OBJS) $(TEST_OBJS) $(TESTS:=.o)