swig/swig — pull request #32 by kwwette (2013-04-08 00:05:09+00:00)
Title: Add -MP option for generating phony targets for all dependencies

This patch adds an option that makes SWIG generates phony make targets for all dependencies, e.g.:

-----
module.i : \
header1.h \
header2.h

header1.h:

header2.h:
-----

This is to prevent make from complaining if header files have been deleted before the dependency file has been updated. A similar option exists for gcc, for the same reason.