X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=Makefile;h=b8582d5d66c1f34df008d45634ea9ea88897a123;hp=9a5d05f5a7ef2b40d94b442a7bc8bc6d3ba89d2c;hb=5697a8de631b29f5b7b34a876be06d6ace0921bc;hpb=58a8a761e25ee45d6c300f2c22993f160db86e11 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