X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=ROM2%2FMakefile;h=e79afb298a3d7bf9ae8228342b92a014d52aac0d;hb=9366107abfbfbe85f00b27449c79284d0e1aa59e;hp=7a4421e8f8fd08dc5e9d0c02506fb14bf6c15116;hpb=c9763dcb182398266bae1c6a7a848beec1cba35d;p=uccvend-snackrom.git diff --git a/ROM2/Makefile b/ROM2/Makefile index 7a4421e..e79afb2 100644 --- a/ROM2/Makefile +++ b/ROM2/Makefile @@ -1,12 +1,11 @@ # muchly stolen from m68hc1x's example.tar.gz's Makefile OBJS = \ - motors.o keypad.o display.o coinmech.o helpers.o main.o \ + motors.o keypad.o display.o coinmech.o chime.o helpers.o main.o \ vectors.o -INCLUDES = vend.h +INCLUDES = vend.h keypad.h chime.h asm.h display.h ports.h types.h - -CFLAGS = -O3 -Wall -m68hc11 -mshort -Wall -Os -g0 \ +CFLAGS = -O3 -m68hc11 -mshort -Wall -Os -g0 \ -msoft-reg-count=0 -ffixed-z LDFLAGS = -m68hc11 -mshort -Wl,-m,m68hc11elfb \ @@ -39,7 +38,7 @@ rom2.elf: $(OBJS) memory.x $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBADD) clean: - rm -f $(OBJS) *.elf *.s19 *.b *.a + rm -f *.o *.elf *.s19 *.b *.a # # Some useful rules