RM_F = ${rm_f}

PARROT = ../../parrot
ASSEMBLE = $(PARROT)

all: build

test: build
	$(PARROT) befunge.pbc test.bef

build: befunge.pasm debug.pasm flow.pasm io.pasm load.pasm maths.pasm stack.pasm
	$(ASSEMBLE) -o befunge.pbc befunge.pasm

clean:
	$(RM_F) core *.pbc *~
