Added debug, ddebug and xdebug targets.

git-svn-id: http://yate.null.ro/svn/yate/trunk@1324 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2007-05-15 14:15:16 +00:00
parent be3967072f
commit 1f00fdddf4
1 changed files with 10 additions and 1 deletions

View File

@ -64,9 +64,18 @@ confdir = @sysconfdir@/yate
# include optional local make rules
-include YateLocal.mak
.PHONY: all
.PHONY: all debug ddebug xdebug
all: ../$(YLIB)
debug:
$(MAKE) all DEBUG=-g3
ddebug:
$(MAKE) all DEBUG='-g3 -DDEBUG'
xdebug:
$(MAKE) all DEBUG='-g3 -DXDEBUG'
.PHONY: clean
clean:
@-$(RM) $(CLEANS) 2>/dev/null