modified lib naming
This commit is contained in:
parent
a3cc6eb73f
commit
276fd3ef81
|
@ -22,7 +22,7 @@ endif
|
||||||
ifeq ($(config),debug)
|
ifeq ($(config),debug)
|
||||||
OBJDIR = obj/Debug
|
OBJDIR = obj/Debug
|
||||||
TARGETDIR = lib
|
TARGETDIR = lib
|
||||||
TARGET = $(TARGETDIR)/libirrdynamicsD.so
|
TARGET = $(TARGETDIR)/libirrDynamicsD.so
|
||||||
DEFINES += -DLINUX -DDEBUG -D_DEBUG
|
DEFINES += -DLINUX -DDEBUG -D_DEBUG
|
||||||
INCLUDES += -Iinclude -I/usr/include/irrlicht -I/usr/include/bullet
|
INCLUDES += -Iinclude -I/usr/include/irrlicht -I/usr/include/bullet
|
||||||
CPPFLAGS += -MMD -MP $(DEFINES) $(INCLUDES)
|
CPPFLAGS += -MMD -MP $(DEFINES) $(INCLUDES)
|
||||||
|
@ -44,11 +44,11 @@ endif
|
||||||
ifeq ($(config),release)
|
ifeq ($(config),release)
|
||||||
OBJDIR = obj/Release
|
OBJDIR = obj/Release
|
||||||
TARGETDIR = lib
|
TARGETDIR = lib
|
||||||
TARGET = $(TARGETDIR)/libirrdynamics.so
|
TARGET = $(TARGETDIR)/libirrDynamics.so
|
||||||
DEFINES += -DLINUX
|
DEFINES += -DLINUX
|
||||||
INCLUDES += -Iinclude -I/usr/include/irrlicht -I/usr/include/bullet
|
INCLUDES += -Iinclude -I/usr/include/irrlicht -I/usr/include/bullet
|
||||||
CPPFLAGS += -MMD -MP $(DEFINES) $(INCLUDES)
|
CPPFLAGS += -MMD -MP $(DEFINES) $(INCLUDES)
|
||||||
CFLAGS += $(CPPFLAGS) $(ARCH) -fPIC
|
CFLAGS += $(CPPFLAGS) $(ARCH) -fPIC -fPIC
|
||||||
CXXFLAGS += $(CFLAGS)
|
CXXFLAGS += $(CFLAGS)
|
||||||
LDFLAGS += -s -shared
|
LDFLAGS += -s -shared
|
||||||
LIBS +=
|
LIBS +=
|
||||||
|
|
10
premake4.lua
10
premake4.lua
|
@ -24,7 +24,15 @@ configuration "Debug"
|
||||||
buildoptions { "-ggdb", "-fPIC" }
|
buildoptions { "-ggdb", "-fPIC" }
|
||||||
links { }
|
links { }
|
||||||
objdir "obj"
|
objdir "obj"
|
||||||
targetname "irrdynamicsD"
|
targetname "irrDynamicsD"
|
||||||
|
|
||||||
|
configuration "Release"
|
||||||
|
defines {"LINUX" }
|
||||||
|
flags {}
|
||||||
|
buildoptions { "-fPIC" }
|
||||||
|
links { }
|
||||||
|
objdir "obj"
|
||||||
|
targetname "irrDynamics"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue