]> git.sesse.net Git - movit/blobdiff - Makefile
Make the blur use the resize functionality, which also unbreaks the in-between sampli...
[movit] / Makefile
index 93a1166e9ec364e483938bf89b66cfb6c925a3d4..96ff15ced695e8a1a9eb2d9ddafb6f8991ad1b51 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,11 @@ CXXFLAGS=-Wall -g
 LDFLAGS=-lSDL -lSDL_image -lGL
 
 # Core.
-OBJS=main.o util.o widgets.o effect.o effect_chain.o flat_input.o
+OBJS=main.o util.o widgets.o effect.o effect_chain.o
+
+# Inputs.
+OBJS += flat_input.o
+OBJS += ycbcr_input.o
 
 # Effects.
 OBJS += lift_gamma_gain_effect.o
@@ -18,6 +22,7 @@ OBJS += blur_effect.o
 OBJS += diffusion_effect.o
 OBJS += glow_effect.o
 OBJS += mix_effect.o
+OBJS += resize_effect.o
 OBJS += sandbox_effect.o
 
 test: $(OBJS)
@@ -26,9 +31,10 @@ test: $(OBJS)
 %.o: %.cpp
        $(CXX) -MMD $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $<
 
--include $(OBJS:.o=.d)
+DEPS=$(OBJS:.o=.d)
+-include $(DEPS)
 
 clean:
-       $(RM) test $(OBJS)
+       $(RM) test $(OBJS) $(DEPS)
 
 .PHONY: clean