Quantcast
Channel: MarsHut
Viewing all articles
Browse latest Browse all 6551

premake4 and emscripten

$
0
0
Hi,

I have a demo who use premake4 for generate makefile, I try to use emmar
for build the sample and seems working except for the AR part.

The makefile generated by pre make use : LINKCMD = $(AR) -rcs $(TARGET)
$(OBJECTS)

When I call emar make on this file I have a failed for unknown parameter
-rcs.

I don't yet find a way for change this option generated by premake4, If
someone has already use premake4 with emscripten, will be nice to have some
help about that.

Seems the option must be only rcs without '-' and when I do that seems
create my library, but I can't modify all the generated makefile like that
is not a good way.

Thanks

Tony

Viewing all articles
Browse latest Browse all 6551

Latest Images

Trending Articles



Latest Images