X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=ROM2%2FMakefile;h=5ebabe26bb914c5f66885b03d2c18c54e6399fd1;hb=080c85d87da93ba2472b0c90d17527838d668db2;hp=c75177c7d19c2b565811ad3e4951395c7a914b4e;hpb=35d3d7f73fa94eb2418a8be2995252e1f3b8441a;p=uccvend-snackrom.git diff --git a/ROM2/Makefile b/ROM2/Makefile index c75177c..5ebabe2 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 -fomit-frame-pointer LDFLAGS = -m68hc11 -mshort -Wl,-m,m68hc11elfb \ -nostartfiles \