x86life/Makefile

15 lines
355 B
Makefile

# x86life: a life simulating game
# <https://git.luca0n.com/luca0N/x86life>
PROGRAM_NAME=x86life
ASM=nasm
.PHONY: clean
$(PROGRAM_NAME): src/life.asm src/commonio_read.asm src/commonio_write.asm
$(ASM) -f elf64 -g -F dwarf -o $(PROGRAM_NAME).o src/life.asm
$(LD) $(PROGRAM_NAME).o -o $(PROGRAM_NAME)
clean:
rm -fv $(PROGRAM_NAME) $(PROGRAM_NAME).o