Browse Source

modified lib naming

master
Otto Naderer 8 years ago
parent
commit
276fd3ef81
  1. 6
      irrdynamics.make
  2. 10
      premake4.lua

6
irrdynamics.make

@ -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

@ -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…
Cancel
Save