make DEBUG=1 logs all symbols in the .map and .sym files

This commit is contained in:
Rangi
2020-06-14 21:52:33 -04:00
parent 75035a71a5
commit 401aa383e2
4 changed files with 27 additions and 21 deletions

View File

@@ -67,6 +67,11 @@ tools:
RGBASMFLAGS = -L -Weverything
# Create a sym/map for debug purposes if `make` run with `DEBUG=1`
ifeq ($(DEBUG),1)
RGBASMFLAGS += -E
endif
$(crystal_obj): RGBASMFLAGS +=
$(crystal11_obj): RGBASMFLAGS += -D _CRYSTAL11
$(crystal_au_obj): RGBASMFLAGS += -D _CRYSTAL11 -D _CRYSTAL_AU