Separate debugging of linenoise 156/head
authorNHOrus <jy6x2b32pie9@yahoo.com>
Thu, 29 Jun 2017 17:23:39 +0000 (20:23 +0300)
committerNHOrus <jy6x2b32pie9@yahoo.com>
Thu, 29 Jun 2017 18:23:04 +0000 (21:23 +0300)
Makefile

index 9a5d05f5a7ef2b40d94b442a7bc8bc6d3ba89d2c..b8582d5d66c1f34df008d45634ea9ea88897a123 100644 (file)
--- 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