modified lib naming
This commit is contained in:
parent
a3cc6eb73f
commit
276fd3ef81
|
@ -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 +=
|
||||
|
|
10
premake4.lua
10
premake4.lua
|
@ -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"
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue