X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=Makefile;h=41f0de44b172874c5d7efcea139fccb95a3418e5;hp=1d35c9d5756cf30b5a904a498d8e8db5721268df;hb=24c005b80fcd13ceb3460e9957fec646eec2b0ee;hpb=1bd28ba3c43338724457bd2cfeb3c15c33347d39 diff --git a/Makefile b/Makefile index 1d35c9d..41f0de4 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,14 @@ 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 # Core. LIB_OBJS=util.o widgets.o effect.o effect_chain.o @@ -61,6 +68,8 @@ 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) OBJS=$(DEMO_OBJS) $(LIB_OBJS) $(TEST_OBJS) $(TESTS:=.o)