diff options
| author | onelin <oscar@nelin.dk> | 2026-06-10 04:58:13 +0000 |
|---|---|---|
| committer | onelin <oscar@nelin.dk> | 2026-06-10 04:58:13 +0000 |
| commit | 7cc1a2e6ccc8f4a87e73c35672e7bb973e965470 (patch) | |
| tree | ce65f72b384f9d75d15cc68ed2f0225e2b21ae0b /Makefile | |
Initial commit
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 $^ |
