Depending on the purpose:
if you write own module on Alchemy - С/C ++ for example
example.c. Then use for compilation in SWC.
alc-on;gcc example.c -O3- Wall -swc -o example.swc
-L.../jpeg-6b -ljpeg;alc-off
But if you ask in a theme context - look above...
The post from - Metalbot.There is a link on archive with an
example and is used - Makefile.
quote:
There it is written - GLUEGEN a file (a mix "C(Alchemy)" and
"AS3") with extention *.gg and accordingly all will be on another.
Look an example at Metalbot and it Makefile
Process in this case the such:
It is taken separately "С" a part from gluegen *.gg a
file - glue.c and AS3 a part glue.as
And in SWC it is compiled only - glue.c
glue.as It is used as a class in AS3.