I'm trying to organize my code into modules. I have one manifest file for the module, which I have toggled on, allowing DM to add it to its auto generated includes. All other module files are toggled off in Dream Maker but are included by the module manifest file, written exactly as below.
#include "modulepath/sub1.dm"
#include "mopulepath/sub2.dm"
#include "modulepath/sub3.dm"
Only the last module file is included regardless of how many #includes are specified in the manifest. In this case: "sub3" is included. All preceding files generate "can not open" errors from the compiler.
Is this the right approach to creating modules? If so, then why won't the compiler accept more than one include in the manifest. If this isn't the proper way, what is?