summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-11-08 06:32:44 +0100
committerPixel <pixel@nobis-crew.org>2009-11-08 06:32:44 +0100
commitc200617a1f4ff9afb8ce9127c3e6219c3447bbe4 (patch)
treeda74a85992a715ffaeabf26749f0ade3a2fe1ba5 /Makefile
parent925410a2d810eb3f604d5bb8ba5e932fe2327ce8 (diff)
Adding iup to the dbg version.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d279b63..ccd7fea 100644
--- a/Makefile
+++ b/Makefile
@@ -52,7 +52,8 @@ INCLUDES = \
-I /usr/include/mysql \
-I /usr/include/FTGL -I /usr/include/freetype2 \
-I /usr/include/oracle/11.1.0.1/client/ \
--I ../PSX-Bundle/includes
+-I ../PSX-Bundle/includes \
+-I../lua-modules-iup/im/include -I../lua-modules-iup/cd/include -I../lua-modules-iup/iup/include \
HAVES += -DHAVE_VSSCANF -DHAVE_LIBJPEG -DHAVE_FCNTL -DHAVE_MYSQL -DHAVE_UNISTD_H -DHAVE_FORK -DHAVE_PIPE -DHAVE_FSYNC -DHAVE_MALLOC_H -DHAVE_ASPRINTF -DHAVE_BYTESWAP_H -DHAVE_VASPRINTF
@@ -66,7 +67,7 @@ BASIC_LDFLAGS += $(ARCH_FLAGS) $(LIBS)
LDFLAGS += $(BASIC_LDFLAGS) $(LDFLAGS_READLINE) -L/usr/lib/oracle/11.1.0.1/client/lib ../LuaJIT/src/luajit.a
vpath %.c ../Baltisot/lib:../Baltisot/src:../mogltk/lib:../tinyxml:../lua-modules/src:src
-vpath %.cc ../Baltisot/lib:../Baltisot/src:../mogltk/lib:../tinyxml:../lua-modules/src:src:../lua-modules-cd-tool/src
+vpath %.cc ../Baltisot/lib:../Baltisot/src:../mogltk/lib:../tinyxml:../lua-modules/src:src:../lua-modules-cd-tool/src:../lua-modules-iup/src
vpath %.cpp ../Baltisot/lib:../Baltisot/src:../mogltk/lib:../tinyxml:../lua-modules/src:src:../PSX-Bundle/lib
vpath %.lua ../Baltisot/lib:../Baltisot/src
@@ -168,6 +169,7 @@ isobuilder.cpp \
yazedc.cpp \
LuaOCCI.cpp \
plugin-luaocci.cc \
+plugin-luaiup.cc \
WHOLE_SOURCES = $(BALTISOT_SOURCES) $(LUAINTERFACE_SOURCES) $(GL_GLUE)
DEBUG_SOURCES = $(DEBUG_MODULES)
@@ -202,7 +204,7 @@ lua-interface: lua-interface-mesa.$(SHARED_EXT) lua-interface-main.o
$(LD) -o $@ ./lua-interface.$(SHARED_EXT) lua-interface-main.o
lua-interface-dbg: $(ALL_OBJECTS) $(DEBUG_OBJECTS)
- $(LD) -o lua-interface-dbg $(ALL_OBJECTS) $(DEBUG_OBJECTS) $(LDFLAGS) $(LDFLAGS_MESA) -locci -lclntsh
+ $(LD) -o lua-interface-dbg $(ALL_OBJECTS) $(DEBUG_OBJECTS) $(LDFLAGS) $(LDFLAGS_MESA) -locci -lclntsh ../lua-modules-iup/luaiup.a -lXm -lXpm -lXmu -lXt -lXext -lX11 -lm
clean:
rm -f lua-interface-mesa lua-interface-gl *.o *.dep *.so *.dylib