summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordzwdz2021-07-18 20:01:20 +0200
committerdzwdz2021-07-18 20:01:20 +0200
commita31794504d911d584265ac0427dfbba9a4d9ef72 (patch)
treeceff471e05be07eca6c2281a8c1d0bdcd19678b2 /Makefile
parent185c7c44c0da51b5442abf4fd3fb549f99c5bab8 (diff)
basic executable loading
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3df2ac7..b6eaf0a 100644
--- a/Makefile
+++ b/Makefile
@@ -21,9 +21,9 @@ out/fs/boot/kernel.bin: src/kernel/linker.ld $(call from_sources, src/kernel/)
$(CC) $(LFLAGS) -T $^ -o $@
grub-file --is-x86-multiboot $@
-out/fs/boot/init: src/test_module
+out/fs/boot/init: src/init/linker.ld $(call from_sources, src/init/)
@mkdir -p $(@D)
- @cp $< $@
+ $(CC) $(LFLAGS) -T $^ -o $@
out/fs/boot/grub/grub.cfg: grub.cfg
@mkdir -p $(@D)