AS	= cl65
LD	= ld65


all:	hello_world.sfc

hello_world.sfc:	hello_world.o
	$(LD) -o hello_world.sfc --config hello_world.cfg --obj hello_world.o

hello_world.o:	hello_world.s tb1.pal tb1.font
	$(AS) -t none -o hello_world.o -l hello_world.lst -c hello_world.s

clean :
	rm -f *.o *.smc *.sfc *~ *.lst
	
