Add _debug target to create _debug directory and configure with
[pspp-builds.git] / Smake
diff --git a/Smake b/Smake
index 35dd3285f17fea957427c41381d44fb43c9d4bd8..74202e999efb4e2302890cbc94c54bb017a8a8f3 100644 (file)
--- a/Smake
+++ b/Smake
@@ -101,6 +101,10 @@ _build: all
        test -d _build || mkdir _build
        cd _build && ../configure $(CONFIGUREFLAGS)
 
+_debug: all
+       test -d _debug || mkdir _debug
+       cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
+
 PO_FILES = po/ChangeLog po/Makefile po/Makefile.in po/Makefile.in.in   \
 po/POTFILES po/POTFILES.in po/Rules-quot po/boldquot.sed               \
 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header                        \