summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2009-11-08 01:21:32 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2009-11-08 01:21:32 +0100
commitfbcba09e9323859da0acff810599d5352d88b2fd (patch)
treeacad4717ee051da4354b008516785ecd11d4bd83
parente8b8c133fbd0d46cefebc248f7712a57268e8a96 (diff)
Adjusting for LuaJIT.
-rw-r--r--Makefile.mingw3213
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)