Added debug targets.

git-svn-id: http://voip.null.ro/svn/yate@1437 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2007-08-27 12:07:29 +00:00
parent b525719ea6
commit 13ffd20af1
1 changed files with 10 additions and 1 deletions

View File

@ -25,9 +25,18 @@ exec_prefix = @exec_prefix@
# include optional local make rules
-include YateLocal.mak
.PHONY: all clean
.PHONY: all debug ddebug xdebug clean
all: $(PROJECT)
debug:
$(MAKE) all DEBUG=-g3
ddebug:
$(MAKE) all DEBUG='-g3 -DDEBUG'
xdebug:
$(MAKE) all DEBUG='-g3 -DXDEBUG'
clean:
@-$(RM) $(PROJECT) $(OBJECTS)