]> git.jsancho.org Git - lugaru.git/blobdiff - makefile
Game builds and runs...need more input.
[lugaru.git] / makefile
index 7356dd39ae9d4331d41a31deb6dfa3bf10e57816..c672353c246a3bfadece582a04a4f511143460e2 100644 (file)
--- a/makefile
+++ b/makefile
@@ -37,6 +37,7 @@ INCLUDES := \
                        -I./OpenGL/ \
                        -I./OpenGL/GL \
                        -I$(SRCDIR) \
+                       -I$(SRCDIR)/devil/include \
 
 CFLAGS := -g -c $(OPT) $(INCLUDES) $(DEFINES) -fsigned-char
 CFLAGS += -w
@@ -49,7 +50,7 @@ ifeq ($(strip $(macosx)),true)
 else
   CFLAGS += -DPLATFORM_LINUX=1
   #CFLAGS += -msse -mmmx
-  LDFLAGS := -lSDL -lGL -lGLU -L$(RUNDIR) -lfmod
+  LDFLAGS := ./libSDL-1.2.so.0 -lGL -lGLU ./libfmod.so ./libIL.so.1 ./libILU.so.1 ./libILUT.so.1
 endif
 
 CXXFLAGS := $(CFLAGS)
@@ -83,10 +84,9 @@ SRCS := \
        DRIVER.CC \
        MD5.CC \
        SDLInput.cpp \
-
-UNUSED_SRCS := \
        OpenGL_Windows.cpp \
 
+
 OBJS := $(SRCS:.CC=.o)
 OBJS := $(OBJS:.cc=.o)
 OBJS := $(OBJS:.cpp=.o)