--- src/Makefile	2008-03-31 20:31:15.000000000 +0200
+++ src/Makefile	2008-08-18 09:14:13.000000000 +0200
@@ -5,8 +5,12 @@
 ifeq ($(TYPE),debug)
 DEBUG_FLAGS = -Ddebug +debug_info
 else
+ifeq ($(TYPE),debuginfo)
+DEBUG_FLAGS = +debug_info
+else
 DEBUG_FLAGS =
 endif
+endif
 
 include ../vsn.mk
 VSN=$(ERLSOM_VSN)
@@ -34,6 +38,9 @@
 debug:
 	$(MAKE) TYPE=debug
 
+debuginfo:
+	$(MAKE) TYPE=debuginfo
+
 clean:
 	rm -f $(EBIN_FILES)