ROD=rod
#put your own path to the cc65 working directory here
CC65ROOT=c:\cc65213

$(ROD).PRG: $(ROD).c
	co65 --code-label _a2e_lo_install $(CC65ROOT)\tgi\a2e.lo.tgi
	ca65 $(CC65ROOT)\tgi\a2e.lo.s
	cl65 -O -t apple2enh $(ROD).c --obj $(CC65ROOT)\tgi\a2e.lo.o
	makeprg rod