projects
/
rrq
/
jonasforth.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add alternative Linux backend
[rrq/jonasforth.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index ff474b0b073405bea8aa8a32171a7cdda2fbd61a..c812dccc9bb2933bd480bb73c5bfa14d351c3af5 100644
(file)
--- 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 $< $@
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
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:
.PHONY: clean
clean: