fixed debug option.

This commit is contained in:
Guenter Knauf
2007-04-21 20:15:33 +00:00
parent 91c8715da4
commit 6cd1c7528e
4 changed files with 36 additions and 18 deletions

View File

@@ -29,8 +29,10 @@ DESCR = libssh2 $(subst .def,,$(notdir $@)) $(LIBSSH2_VERSION_STR)
#STACK = 64000
# must be equal to DEBUG or NDEBUG
DB = NDEBUG
# DB = DEBUG
ifndef DB
DB = NDEBUG
# DB = DEBUG
endif
# Optimization: -O<n> or debugging: -g
ifeq ($(DB),NDEBUG)
OPT = -O2