General cruft removal
[uccvend-snackrom.git] / ROM2 / Makefile
index 49c8f89..f3cfd3b 100644 (file)
@@ -7,7 +7,7 @@ OBJS = \
 INCLUDES = vend.h keypad.h chime.h asm.h display_basic.h ports.h types.h
 # debugging doesn't get compiled into the ROM image
 CFLAGS = -m68hc11 -mshort -Wall -O1 \
-       -msoft-reg-count=0 -ffixed-z -g #-fomit-frame-pointer
+       -msoft-reg-count=0 -ffixed-z -g -fomit-frame-pointer
 
 LDFLAGS = -m68hc11 -mshort -Wl,-m,m68hc11elfb \
          -nostartfiles \
@@ -56,7 +56,7 @@ size:   rom2.s19
 
 rom.tar.bz2:
        rm -f romsrc.s crctab.h
-       tar cjf rom.tar.bz2 README Makefile gdbsimrc *.pl *.c *.h *.s *.x
+       tar c README Makefile gdbsimrc *.pl *.c *.h *.s *.x | bzip2 -c -9 > $@
 
 romsrc.s: rom.tar.bz2 src2asm.pl
        perl -w src2asm.pl < $< > $@
@@ -69,13 +69,6 @@ gencrctab: gencrctab.c
 crctab.h: gencrctab
        ./gencrctab > $@
 
-#
-# Implicit rules
-#
-# .elf is for the simulator and gdb
-# .s19 is for some downloader and the simulator
-# .b   is a binary dump
-#
 .SUFFIXES: .elf .s19 .b
 
 .elf.s19:

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