diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2009-11-08 01:23:50 +0100 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2009-11-08 01:23:50 +0100 |
commit | 0c9e73e5303e759e8765019bff707809c4cec536 (patch) | |
tree | f6a2926f373a36c3379fc6078c94f6935a5c34fe /Makefile.mingw32 | |
parent | d5c7ebc69fd6af08e538dda2fe442cee7ad1d41e (diff) |
Adjusting for LuaJIT.
Diffstat (limited to 'Makefile.mingw32')
-rw-r--r-- | Makefile.mingw32 | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/Makefile.mingw32 b/Makefile.mingw32 index cfd7652..8540872 100644 --- a/Makefile.mingw32 +++ b/Makefile.mingw32 @@ -29,8 +29,7 @@ endif INCLUDES = \ -I ../Mesa-7.0.3-win32/include \ -I../Baltisot/include \ --I../Baltisot/lib/zlib/include \ --I../Baltisot/lib/lua/include -I../Baltisot/lib/lua/includes \ +-I../LuaJIT/src \ -I../PSX-Bundle/includes -I../PSX-Bundle/psxdev \ HAVES = -DHAVE_VSSCANF -DHAVE_FCNTL -DHAVE_UNISTD_H -DHAVE_FORK -DHAVE_PIPE -DHAVE_FSYNC -DHAVE_MALLOC_H -DHAVE_ASPRINTF -DHAVE_BYTESWAP_H @@ -39,9 +38,9 @@ CPPFLAGS += $(INCLUDES) -g -DSTDC_HEADERS -DREADLINE_STATIC -DHOOK_STDS -DWORDS_ LDFLAGS += -g -fexception -shared -Wl,--export-dynamic ../lua-interface/lua-interface.a -Wl,--enable-auto-image-base --export-all-symbols -Wl,--enable-auto-import -vpath %.c ../Baltisot/lib:../Baltisot/src:../Baltisot/lib/zlib/src:../Baltisot/lib/lua/src:../Baltisot/lib/lua/src/LuaLib:src:../PSX-Bundle/lib:../PSX-Bundle/psxdev -vpath %.cc ../Baltisot/lib:../Baltisot/src:../Baltisot/lib/zlib/src:../Baltisot/lib/lua/src:../Baltisot/lib/lua/src/LuaLib:src:../PSX-Bundle/lib:../PSX-Bundle/psxdev -vpath %.cpp ../Baltisot/lib:../Baltisot/src:../Baltisot/lib/zlib/src:../Baltisot/lib/lua/src:../Baltisot/lib/lua/src/LuaLib:src:../PSX-Bundle/lib:../PSX-Bundle/psxdev +vpath %.c ../Baltisot/lib:../Baltisot/src:src:../PSX-Bundle/lib:../PSX-Bundle/psxdev +vpath %.cc ../Baltisot/lib:../Baltisot/src:src:../PSX-Bundle/lib:../PSX-Bundle/psxdev +vpath %.cpp ../Baltisot/lib:../Baltisot/src:src:../PSX-Bundle/lib:../PSX-Bundle/psxdev vpath %.lua ../Baltisot/lib:../Baltisot/src LUACD_SOURCES = \ @@ -103,10 +102,7 @@ clean: %.dep : %.cc $(CXX) $(CPPFLAGS) -M -MF $@ $< -%.c : %.clua +%.c : %.lua bin2c $< $@ $(basename $@) -%.clua : %.lua - ./luac -o $@ $< - -include $(ALL_DEPS) |