help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make and swig


From: Stephan Beal
Subject: Re: make and swig
Date: Tue, 16 Sep 2008 14:49:32 +0200

On Tue, Sep 16, 2008 at 1:41 PM, Boris Godin <address@hidden> 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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]