Having multiple .xs files in one project

116 views Asked by At

In my root XS file, I have an include of other XS file which I have to do in order to maintain a clean project structure:

MODULE = MyModule       PACKAGE = MyPackage
# ...
INCLUDE: xs/MySubpackage.xs

Everything is working fine, except that I have to manually delete 'MyPackage.c' each time when I edit MySubpackage.xs - as otherwise the changes are not getting reflected.

Is there an easy way to make ExtUtils::MakeMaker to automatically rebuild MyModule.c each time when MySubpackage.xs is getting changed?

0

There are 0 answers