X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=ROM2%2FMakefile;fp=ROM2%2FMakefile;h=2f8c158f79cd59c9b575230e605232f71f942aea;hb=27fb8a023fa0572ef4171624781460bc59537d49;hp=c75177c7d19c2b565811ad3e4951395c7a914b4e;hpb=3e4543697766d4777790a051de20f729c7cf8341;p=uccvend-snackrom.git diff --git a/ROM2/Makefile b/ROM2/Makefile index c75177c..2f8c158 100644 --- a/ROM2/Makefile +++ b/ROM2/Makefile @@ -6,8 +6,9 @@ OBJS = \ vectors.o start.o INCLUDES = vend.h keypad.h chime.h asm.h display_basic.h ports.h types.h -CFLAGS = -O3 -m68hc11 -mshort -Wall -Os \ - -msoft-reg-count=0 -ffixed-z +# debugging doesn't get compiled into the ROM image +CFLAGS = -m68hc11 -mshort -Wall -O1 \ + -msoft-reg-count=0 -ffixed-z -g LDFLAGS = -m68hc11 -mshort -Wl,-m,m68hc11elfb \ -nostartfiles \