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

$(PRG).prg: $(PRG).r
    LN65 +B $(PRG).R -ld -lg3 -ls -lm -ld -lg3 -ls -lm
    del $(PRG).R
    MAKEPRG $(PRG)
    del $(PRG)
    @echo $(PRG).PRG now created!

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