On Tue, Sep 16, 2008 at 1:41 PM, Boris Godin <[EMAIL PROTECTED]> wrote:
> $(OUTPUT_DIR)/%.py : $(INPUT_DIR)/%.i
>    swig -cxx -python $< -o $@

To the OP: one thing to keep in mind when setting this up is that swig
unfortunately uses different output file naming conventions and
different C++ file extensions (e.g. cxx, cpp) when generating wrappers
for different script languages, so it's not generally possible to
write 100% generic swig rules which work across different scripting
languages.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to