Warning: this is an htmlized version!
The original is here, and
the conversion rules are here.
#CFLAGS = -g

clean: demo1.clean demo2.clean demo3.clean demo4.clean

demo%.clean:
	rm -fv demo$*.asm demo$*.asm.lst demo$*.c demo$*.asm.o demo$*

demo%.mflua.run:
#	(cd ..; ./mylua -f miniforth1.lua crim/demo$*.mflua)
	(cd ..; ./mylua miniforth2.lua -e 'fload("crim/demo$*.mflua")')

demo%: demo%.mflua crim.lua crimextras.lua skel.bytecode.asm skel.engine.c
#	(cd ..; ./mylua -f miniforth1.lua crim/demo$*.mflua)
	(cd ..; ./mylua miniforth2.lua -e 'fload("crim/demo$*.mflua")')
	nasm -f elf -o demo$*.asm.o -l demo$*.asm.lst demo$*.asm
	gcc $(CFLAGS) -o demo$* demo$*.c demo$*.asm.o