diff options
-rw-r--r-- | Makefile.mingw32 | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Makefile.mingw32 b/Makefile.mingw32 index d068423..a2e04ed 100644 --- a/Makefile.mingw32 +++ b/Makefile.mingw32 @@ -30,7 +30,7 @@ INCLUDES = \ -I ../Mesa-7.0.3-mingw32/include \ -I../mogltk/include \ -I../Baltisot/include \ --I../Baltisot/lib/lua/include -I../Baltisot/lib/lua/includes \ +-I../LuaJIT/src \ -I ../tinyxml \ -I ../mysql-5.0.51b-win32/include \ -I ../ftgl-win32/include -I ../freetype-win32/include/freetype2 \ @@ -47,9 +47,9 @@ CPPFLAGS += $(INCLUDES) -g -DSTDC_HEADERS -DREADLINE_STATIC -DHOOK_STDS -DWORDS_ LDFLAGS += -g -fexceptions -shared ../lua-interface/lua-interface.a -Wl,--export-dynamic -Wl,--enable-auto-image-base --export-all-symbols -Wl,--enable-auto-import \ -L ../freetype-win32/lib -L ../gnuwin32/lib -L ../ftgl-win32/lib/ -vpath %.c ../Baltisot/lib:../Baltisot/src:../Baltisot/lib/zlib/src:../Baltisot/lib/lua/src:../Baltisot/lib/lua/src/LuaLib:src:../paperIdol/src:../mogltk/lib:../tinyxml -vpath %.cc ../Baltisot/lib:../Baltisot/src:../Baltisot/lib/zlib/src:../Baltisot/lib/lua/src:../Baltisot/lib/lua/src/LuaLib:src:../paperIdol/src:../mogltk/lib:../tinyxml -vpath %.cpp ../Baltisot/lib:../Baltisot/src:../Baltisot/lib/zlib/src:../Baltisot/lib/lua/src:../Baltisot/lib/lua/src/LuaLib:src:../paperIdol/src:../mogltk/lib:../tinyxml +vpath %.c ../Baltisot/lib:../Baltisot/src:src:../mogltk/lib:../tinyxml +vpath %.cc ../Baltisot/lib:../Baltisot/src:src:../mogltk/lib:../tinyxml +vpath %.cpp ../Baltisot/lib:../Baltisot/src:src:../mogltk/lib:../tinyxml vpath %.lua ../Baltisot/lib:../Baltisot/src CONFIGFILES_SOURCES = \ @@ -228,10 +228,7 @@ clean: %.dep : %.cc $(CXX) $(CPPFLAGS) -M -MF $@ $< -%.c : %.clua +%.c : %.lua bin2c $< $@ $(basename $@) -%.clua : %.lua - ./luac -o $@ $< - -include $(ALL_DEPS) |