Thank you for replaying.
It seems my English is worst than my programming skills :)
I'm planning to generate a code using haxe nme without any native code as dependency. In other words, just Haxe syntax in the library.
I think I'm not explaining very well (again, sorry about my bad English) so I'll try to illustrate it with a sample.
If I write the code
var logo:Sprite();
logo = new Sprite();
I can send only it to anyone that has haxe NME and it will work on all platforms supported by Haxe NME. There is no need to send any dll / lib.
At compile time Haxe NME will convert it to the target platforms in a transparent way for me and I'm sure it will work on all platforms.
I wish to do the same with caffeine-hx. I don't want any dll / library dependency.
I succeeded compiling the library on Linux Ubuntu 12.04 using default Makefile.linux as you can see
here (after renaming i686-pc-linux-gnu-gcc to gcc because i got command not found error).
This version generated dlls.
As far as I understood I should not compile with -neko flag in order to generate a pure haxe library, ok?
The Makefile.linux is to build the NDLLs for the target platforms.
As don't want to generate / use them, so can I just add the caffeine code to a Haxe NME project and use it?
In this case, what would I need to successfully compile it with my project?
I mean, the nmml file should be configured in which way?
And which classes should I include?
Could you give me a short source sample?
Thank you.