Imported Upstream version 0.7.6
[platform/upstream/multipath-tools.git] / libmultipath / prioritizers / Makefile
index 0c71e63..ab7bc07 100644 (file)
@@ -38,5 +38,13 @@ install: $(LIBS)
 uninstall:
        for file in $(LIBS); do $(RM) $(DESTDIR)$(libdir)/$$file; done
 
-clean:
+clean: dep_clean
        $(RM) core *.a *.o *.gz *.so
+
+OBJS = $(LIBS:libprio%.so=%.o) alua_rtpg.o
+.SECONDARY: $(OBJS)
+
+include $(wildcard $(OBJS:.o=.d))
+
+dep_clean:
+       $(RM) $(OBJS:.o=.d)