test.bin: lisp.rs lisp.o
	rustc -Clink-arg=-fuse-ld=mold -Clink-arg=lisp.o  --edition=2024 --test -g $< -o $@

lisp.o: lisp.asm
	nasm -g -f elf64 -o lisp.o lisp.asm

test: test.bin
	./test.bin

clean:
	rm -f lisp.o test.bin
