Adds fopen(), fwrite(), fclose()
This commit is contained in:
8
makefile
8
makefile
@ -1,5 +1,5 @@
|
||||
tests: tests.o constants.o core.o console.o string.o
|
||||
gcc tests.o constants.o core.o console.o string.o -o tests -no-pie -z noexecstack
|
||||
tests: tests.o constants.o core.o console.o string.o file.o
|
||||
gcc tests.o constants.o core.o console.o string.o file.o -o tests -no-pie -z noexecstack
|
||||
tests.o: tests.asm
|
||||
nasm tests.asm -f elf64 -l tests.lst -g -F dwarf
|
||||
constants.o: constants.asm
|
||||
@ -10,6 +10,8 @@ console.o: console.asm
|
||||
nasm console.asm -f elf64 -l console.lst -g -F dwarf
|
||||
string.o: string.asm
|
||||
nasm string.asm -f elf64 -l string.lst -g -F dwarf
|
||||
file.o: file.asm
|
||||
nasm file.asm -f elf64 -l file.lst -g -F dwarf
|
||||
|
||||
clean:
|
||||
rm -f tests *.lst *.o
|
||||
rm -f tests *.lst *.o testFile1.txt
|
||||
|
Reference in New Issue
Block a user