optimize makefile
Signed-off-by: r4sas <r4sas@i2pmail.org>
This commit is contained in:
parent
259a9de034
commit
3b89468ad3
8
Makefile
8
Makefile
@ -8,14 +8,12 @@ SYG_SRC = sygcpp.cpp
|
||||
SYGCPP = sygcpp
|
||||
|
||||
ifeq ($(DEBUG),yes)
|
||||
CXX_DEBUG = -g
|
||||
CXXFLAGS := -g
|
||||
else
|
||||
LD_DEBUG = -s -Os
|
||||
LDFLAGS := -s -Os
|
||||
endif
|
||||
|
||||
CXXFLAGS = $(CXX_DEBUG) -fPIC
|
||||
LDFLAGS = $(LD_DEBUG)
|
||||
|
||||
CXXFLAGS += -fPIC
|
||||
SYG_OBJS = $(patsubst %.cpp,obj/%.o,$(SYG_SRC))
|
||||
|
||||
ifneq (, $(findstring mingw, $(SYS))$(findstring cygwin, $(SYS)))
|
||||
|
@ -1,5 +1,4 @@
|
||||
WINDRES = windres
|
||||
|
||||
SYG_RC = windows/resource.rc
|
||||
|
||||
LDFLAGS += -Wl,-Bstatic
|
||||
|
Loading…
x
Reference in New Issue
Block a user