|
|
@ -8,14 +8,12 @@ SYG_SRC = sygcpp.cpp |
|
|
|
SYGCPP = sygcpp |
|
|
|
SYGCPP = sygcpp |
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(DEBUG),yes) |
|
|
|
ifeq ($(DEBUG),yes) |
|
|
|
CXX_DEBUG = -g |
|
|
|
CXXFLAGS := -g |
|
|
|
else |
|
|
|
else |
|
|
|
LD_DEBUG = -s -Os |
|
|
|
LDFLAGS := -s -Os |
|
|
|
endif |
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
CXXFLAGS = $(CXX_DEBUG) -fPIC |
|
|
|
CXXFLAGS += -fPIC |
|
|
|
LDFLAGS = $(LD_DEBUG) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SYG_OBJS = $(patsubst %.cpp,obj/%.o,$(SYG_SRC)) |
|
|
|
SYG_OBJS = $(patsubst %.cpp,obj/%.o,$(SYG_SRC)) |
|
|
|
|
|
|
|
|
|
|
|
ifneq (, $(findstring mingw, $(SYS))$(findstring cygwin, $(SYS))) |
|
|
|
ifneq (, $(findstring mingw, $(SYS))$(findstring cygwin, $(SYS))) |
|
|
|