Add sources

This commit is contained in:
luca0N! 2024-03-24 21:37:08 -03:00
parent f5934d26a3
commit 8117e581ea
Signed by: luca0N
GPG key ID: 5978D960572B449E
5 changed files with 306 additions and 0 deletions

14
Makefile Normal file
View file

@ -0,0 +1,14 @@
# 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