diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9f3c9a5 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +.PHONY: fmt + +write-elf: main.c write_elf.c registers.h instructions.h + gcc -static-pie main.c -o write-elf + +tiny: tiny.s + nasm -f elf64 tiny.s + +fmt: main.c write_elf.c registers.h instructions.h + clang-format -i $^ |
