# -----------------------------
# makefile by bill buckels 2008
# -----------------------------
PRG=ABINLOAD

$(PRG).prg: $(PRG).r
    LN65 +B +H 2000,4004 $(PRG).R -ld -lg3 -ls -lm -ld -lg3 -ls -lm
    del $(PRG).R
    MAKEPRG2 $(PRG) $(PRG).BIN
    del $(PRG)
    @echo $(PRG).PRG now created!

$(PRG).r: $(PRG).c
           c65 $(PRG).c

