More keypad fixes.
[uccvend-snackrom.git] / ROM2 / Makefile
index 949e801..e79afb2 100644 (file)
@@ -1,10 +1,9 @@
 # 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 -m68hc11 -mshort -Wall -Os -g0 \
        -msoft-reg-count=0 -ffixed-z
@@ -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

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