summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Hawthorn <john.hawthorn@gmail.com>2014-09-27 14:55:00 -0700
committerJohn Hawthorn <john.hawthorn@gmail.com>2014-09-27 16:50:08 -0700
commit78bf67c0d30cbd121a34c9fee5def678f0c027e7 (patch)
tree9ad2a18d1dc7f0a7f39ca93372fed33839962adc /Makefile
parent0b6104d6ddd3f7b859c15cdab5f7a512708e84ee (diff)
Raise SIGTRAP on all assertion failures
Makes it easy to run tests w/ gdb for debugging
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7b3cead..4854fca 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ CFLAGS+=-Wall -Wextra -g -std=c99 -O3 -pedantic
PREFIX?=/usr/local
MANDIR?=$(PREFIX)/share/man
BINDIR?=$(PREFIX)/bin
-VALGRIND?=
+DEBUGGER?=
INSTALL=install
INSTALL_PROGRAM=$(INSTALL)
@@ -17,7 +17,7 @@ fzytest: fzytest.o match.o choices.o
$(CC) $(CFLAGS) $(CCFLAGS) -o $@ $^
test: fzytest
- -$(VALGRIND) ./fzytest
+ -$(DEBUGGER) ./fzytest
fzy: fzy.o match.o tty.o choices.o
$(CC) $(CFLAGS) $(CCFLAGS) -o $@ $^