ASM=z80asm
PROGRAM=life

all: clean progfile

clean:
	rm -f $(PROGRAM).bin $(PROGRAM).82p

progfile: objfile
	./bin8x -2 $(PROGRAM).bin

objfile:
	$(ASM) main.asm -o $(PROGRAM).bin
