From: NHOrus Date: Thu, 29 Jun 2017 17:23:39 +0000 (+0300) Subject: Separate debugging of linenoise X-Git-Tag: 1.1~21 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=refs%2Fmerge-requests%2F156%2Fhead;p=open-adventure.git Separate debugging of linenoise --- diff --git a/Makefile b/Makefile index 9a5d05f..b8582d5 100644 --- a/Makefile +++ b/Makefile @@ -67,6 +67,9 @@ dungeon.c dungeon.h: make_dungeon.py adventure.yaml python3 make_dungeon.py linenoise.o: linenoise/linenoise.h + $(CC) -c linenoise/linenoise.c + +linenoise-dbg: linenoise/linenoise.h $(CC) $(CCFLAGS) -c linenoise/linenoise.c clean: @@ -147,4 +150,4 @@ debug: CCFLAGS += -O0 --coverage -ggdb debug: linty debug: cheat - +debug-ln: linenoise-dbg debug