modified lib naming

This commit is contained in:
Otto Naderer 2014-05-05 19:43:02 +02:00
parent a3cc6eb73f
commit 276fd3ef81
2 changed files with 12 additions and 4 deletions

View File

@ -22,7 +22,7 @@ endif
ifeq ($(config),debug)
OBJDIR = obj/Debug
TARGETDIR = lib
TARGET = $(TARGETDIR)/libirrdynamicsD.so
TARGET = $(TARGETDIR)/libirrDynamicsD.so
DEFINES += -DLINUX -DDEBUG -D_DEBUG
INCLUDES += -Iinclude -I/usr/include/irrlicht -I/usr/include/bullet
CPPFLAGS += -MMD -MP $(DEFINES) $(INCLUDES)
@ -44,11 +44,11 @@ endif
ifeq ($(config),release)
OBJDIR = obj/Release
TARGETDIR = lib
TARGET = $(TARGETDIR)/libirrdynamics.so
TARGET = $(TARGETDIR)/libirrDynamics.so
DEFINES += -DLINUX
INCLUDES += -Iinclude -I/usr/include/irrlicht -I/usr/include/bullet
CPPFLAGS += -MMD -MP $(DEFINES) $(INCLUDES)
CFLAGS += $(CPPFLAGS) $(ARCH) -fPIC
CFLAGS += $(CPPFLAGS) $(ARCH) -fPIC -fPIC
CXXFLAGS += $(CFLAGS)
LDFLAGS += -s -shared
LIBS +=

View File

@ -24,7 +24,15 @@ configuration "Debug"
buildoptions { "-ggdb", "-fPIC" }
links { }
objdir "obj"
targetname "irrdynamicsD"
targetname "irrDynamicsD"
configuration "Release"
defines {"LINUX" }
flags {}
buildoptions { "-fPIC" }
links { }
objdir "obj"
targetname "irrDynamics"