sdep

A simple "date+event" line parser
git clone https://git.tronto.net/sdep
Download | Log | Files | Refs | README | LICENSE

commit cfb1bec532525848427f0130c8a6834e5053cbcb
parent 878219c862cd772db54dfa92372678592935626f
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Mon, 15 May 2023 17:34:26 +0200

Added debug target to makefile

Diffstat:
MMakefile | 7++++++-
Dsdep | 0
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -8,6 +8,8 @@ SCRIPTS = sdep-add sdep-checknow sdep-checkpast sdep-clear sdep-edit sdep-list CPPFLAGS = -D_XOPEN_SOURCE=700 -DVERSION=\"${VERSION}\" CFLAGS = -pedantic -Wall -Os ${CPPFLAGS} +DBGFLAGS = -pedantic -Wall -Wextra \ + -fsanitize=address -fsanitize=undefined ${CPPFLAGS} CC = cc @@ -22,6 +24,9 @@ options: sdep: ${CC} ${CFLAGS} -o sdep sdep.c +debug: + ${CC} ${CFLAGS} -o sdep sdep.c + clean: rm -rf sdep sdep-${VERSION}.tar.gz @@ -52,5 +57,5 @@ uninstall: rm -rf ${DESTDIR}${PREFIX}/bin/sdep ${DESTDIR}${MANPREFIX}/man1/sdep.1 for s in ${SCRIPTS}; do rm -rf ${DESTDIR}${PREFIX}/bin/$$s; done -.PHONY: all options clean dist install scripts uninstall +.PHONY: all options debug clean dist install scripts uninstall diff --git a/sdep b/sdep Binary files differ.