a-game

2D platformer written from scratch.
git clone git://git.amin.space/a-game.git
Log | Files | Refs | README | LICENSE

commit fb719bd60eeb4c2fc79d5d4285c08377d2653eb5
parent aff9783682f93a0318a151fd1052c67ca48c36a6
Author: amin <dev@aminmesbah.com>
Date:   Mon,  4 Jun 2018 00:02:21 +0000

Start gdb with tui

FossilOrigin-Name: 2c22f7da0368de4ebeb712cd4f6daa4ba4f261e8cb071ad6a7db779e6215a048
Diffstat:
MMakefile | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -20,7 +20,7 @@ RELLIB = $(RELDIR)/$(LIB_NAME) RELLIBTMP = $(RELLIB).tmp RELCFLAGS = -DPLATFORM_HOTLOAD_GAME_CODE -O2 -Os -.PHONY: default all build_debug build_lib build_release clean dir_debug dir_release gdb memcheck run todo +.PHONY: default all build_debug build_lib build_release clean debug dir_debug dir_release memcheck run todo default: build_release @@ -39,15 +39,15 @@ build_release: dir_release build_lib clean: rm -f $(RELDIR)/* $(DBGDIR)/* +debug: build_debug + gdb --tui $(DBGEXE) + dir_debug: @mkdir -p $(DBGDIR) dir_release: @mkdir -p $(RELDIR) -gdb: build_debug - gdb $(DBGEXE) - memcheck: build_debug valgrind --track-origins=yes ./$(DBGEXE)