X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=c812dccc9bb2933bd480bb73c5bfa14d351c3af5;hb=9b08decf6a8f5d454c90dbcbf12d42cb8954a022;hp=ff474b0b073405bea8aa8a32171a7cdda2fbd61a;hpb=55d4cc10bbfa7bc445948b222b6a72d2d4b127a2;p=rrq%2Fjonasforth.git diff --git a/Makefile b/Makefile index ff474b0..c812dcc 100644 --- a/Makefile +++ b/Makefile @@ -14,9 +14,12 @@ OVMF_CODE.fd: /usr/share/ovmf/x64/OVMF_CODE.fd OVMF_VARS.fd: /usr/share/ovmf/x64/OVMF_VARS.fd cp $< $@ -out/main: main.asm impl.asm bootstrap.asm sys.f uefi.asm +out/main: main.asm impl.asm bootstrap.asm sys.f os/uefi.asm mkdir -p out - fasm $< out/main + OS_INCLUDE=os/uefi.asm fasm $< $@ + +main: main.asm impl.asm bootstrap.asm sys.f os/linux.asm + OS_INCLUDE=os/linux.asm fasm $< $@ .PHONY: clean clean: