Mercurial > hg > Members > kono > nitros9-code
diff rules.mak @ 2954:43588191b624
rules.mak: Generate assembly listings if LISTDIR is defined
This is useful for debugging.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sat, 08 Feb 2014 02:12:13 +0100 |
parents | 780d05a6fab6 |
children | 1e0ca35dcee0 |
line wrap: on
line diff
--- a/rules.mak Sun Feb 09 21:44:21 2014 +0100 +++ b/rules.mak Sat Feb 08 02:12:13 2014 +0100 @@ -39,6 +39,9 @@ ASROM = lwasm --6309 --format=raw --pragma=pcaspcr,nosymbolcase,condundefzero,undefextern,dollarnotlocal --includedir=. --includedir=$(DEFSDIR) ASBIN = lwasm --6309 --format=decb --pragma=pcaspcr,nosymbolcase,condundefzero,undefextern,dollarnotlocal --includedir=. --includedir=$(DEFSDIR) ASOUT = -o +ifdef LISTDIR +ASOUT = --list=$(LISTDIR)/$@.lst --symbols -o +endif AFLAGS = -DNOS9VER=$(NOS9VER) -DNOS9MAJ=$(NOS9MAJ) -DNOS9MIN=$(NOS9MIN) -DNOS9DBG=$(NOS9DBG) ifdef PORT AFLAGS += -D$(PORT)=1