summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-07-02 04:10:52 -0400
committerIan Moffett <ian@osmora.org>2025-07-02 04:10:52 -0400
commitf2431049cf6e12b359b6a9df0c778b1e30f683e0 (patch)
treec9a7478a536ce593407545bf515d10443012ed26 /Makefile
Initial commitmain
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..2a754db
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,8 @@
+all:
+ clang -target x86_64-pc-win32-coff -fno-stack-protector -fshort-wchar -mno-red-zone \
+ -Iinclude/ -c src/main.c -o main.o
+ lld-link -filealign:16 -subsystem:efi_application -nodefaultlib -dll -entry:efi_main main.o -out:BOOTX64.EFI
+ bash mkiso.sh
+
+clean:
+ rm -r *.lib *.EFI *.o