Deprecating main.c & other functions in order to be a dumb terminal.
[uccvend-snackrom.git] / ROM2 / Makefile
index 6c77f24..b023d7d 100644 (file)
@@ -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_basic.o coinmech.o chime.o helpers.o server.o main_basic.o \
        vectors.o
-INCLUDES = vend.h
+INCLUDES = vend.h keypad.h chime.h asm.h display_basic.h ports.h types.h
 
-
-CFLAGS = -O2 -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

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