
PC := fpc
PFLAGS := -Mdelphi
PFLAGS += -Fusource
PFLAGS += -CX -XS -XX

PFLAGS += -vq
PFLAGS += -vm6058
PFLAGS += -vm3177

Critter: source/Critter.pas
	fpc $< $(PFLAGS)
	mv -fv source/Critter .

clean:
	rm -fv source/*.o source/*.ppu

.PHONY: Critter

# make PC=/home/roland/Applications/fpc-322-x86_64-win64/fpc.exe
