summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohnny Richard <johnny@johnnyrichard.com>2026-02-16 20:28:47 +0100
committerJohnny Richard <johnny@johnnyrichard.com>2026-02-17 22:33:09 +0100
commit21d87944953b26c77a2a99a76990d8bb02629a9c (patch)
tree11dafa4b9417020e193a1710e894f0cc7349a266 /Makefile
Initial commitHEADmaster
Signed-off-by: Johnny Richard <johnny@johnnyrichard.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..c2323cf
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+LDFLAGS= -Ttext 0x7C00 --oformat binary
+.PHONY: all clean
+
+all: boot.bin
+
+clean:
+ $(RM) boot.bin boot.o
+
+boot.bin: boot.o
+ $(LD) $(LDFLAGS) -o $@ $<