Bunch of silly errors & debugging stuff.
[uccvend-snackrom.git] / ROM2 / Makefile
index c75177c..2f8c158 100644 (file)
@@ -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 \

UCC git Repository :: git.ucc.asn.au