]> git.sesse.net Git - movit/blobdiff - Makefile
Fix an issue with textures that are immediately bounced (they need mipmaps in all...
[movit] / Makefile
index 51aebc541159274202b538f4d0b4c2de831b4baf..2ef5d1cce23c0c61030cb010e6733f191e262ab9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,13 +18,16 @@ 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)
        $(CXX) -o test $(OBJS) $(LDFLAGS)
 
-.o: .cpp
-       $(CXX) $(CPPFLAGS) $(CXXFLAGS) -o $@ $<
+%.o: %.cpp
+       $(CXX) -MMD $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $<
+
+-include $(OBJS:.o=.d)
 
 clean:
        $(RM) test $(OBJS)