summaryrefslogtreecommitdiff
path: root/configure.debug
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2022-02-06 18:11:03 +0800
committerJSDurand <mmemmew@gmail.com>2022-02-06 18:11:03 +0800
commit3d709982b66314b23b5957041580dd4918561a53 (patch)
tree1c23bbd7695499e1d74ce2c35ce27f6851a7f642 /configure.debug
parent1c8cbfd09ff9dd02f6d8d938c45e3f29a35f6f32 (diff)
Add a script to build for debugging purposes
I think this is a better practice than the previously used hard-coded configure option.
Diffstat (limited to 'configure.debug')
-rwxr-xr-xconfigure.debug3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.debug b/configure.debug
new file mode 100755
index 0000000..2ea3395
--- /dev/null
+++ b/configure.debug
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+./configure CPPFLAGS="-DDEBUG" CFLAGS="-g -O0"