f.Puts("ifndef STATIC_LIBRARY_TARGET\n");
f.Printf("\t$(%s) $(OFLAGS) @$(OBJ)objects.lst $(LIBS)%s -o $(TARGET) $(INSTALLNAME)\n",
- ldCommand && ldCommand[0] ? "LD" : containsCXX ? "CXX" : "CC",
- //strcmp(compiler.name, "em") == 0 ? " --preload-file __HelloForm.ear" : "");
- strcmp(compiler.name, "em") == 0 ? " --embed-file __HelloForm.ear" : "");
+ ldCommand && ldCommand[0] ? "LD" : containsCXX ? "CXX" : "CC",
+ strstr(compiler.ccCommand, "emcc") == null ? "" : /*" --preload-file "*/" --embed-file " "__HelloForm.ear"
+ );
if(!GetDebug(config))
{
f.Puts("ifndef NOSTRIP\n");