@set name="pumpkin"

@echo on


rem compile game


cc65 -Oi %name%.c --add-source

ca65 crt0.s
ca65 %name%.s

ld65 -C nrom_32k_vert.cfg -o %name%.nes crt0.o %name%.o runtime.lib

nestopia %cd%\%name%.nes

del %name%.s
del %name%.o
del crt0.o