Add sources
This commit is contained in:
parent
f5934d26a3
commit
8117e581ea
5 changed files with 306 additions and 0 deletions
14
Makefile
Normal file
14
Makefile
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue