lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Thanks. Anyone knows a simpler way?

Nope, looks good.  Of course, there's no need for a separate 'mingwc'
target, and there's also no need to change LUA_T or LUAC_T:

mingw:
       $(MAKE) "LUA_A=lua51.dll" \
      "AR=$(CC) -shared -o" "RANLIB=strip --strip-unneeded" \
      "MYCFLAGS=-DLUA_BUILD_AS_DLL" "MYLIBS=" "MYLDFLAGS=-s" lua
      $(MAKE) luac

    -Mark