Correctly structured project & implemented required functions
This commit is contained in:
parent
50c928f6f6
commit
c8cd18d21c
10 changed files with 513 additions and 76 deletions
8
build.sh
Normal file
8
build.sh
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
nasm -f elf64 ./src/assembly/syscalls.asm -o ./build/syscalls.o
|
||||
|
||||
gcc -nostdlib -static ./build/syscalls.o ./src/main.c -o ./build/main
|
||||
|
||||
echo "Built: ./build/main"
|
||||
Loading…
Add table
Add a link
Reference in a new issue