From a31794504d911d584265ac0427dfbba9a4d9ef72 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 18 Jul 2021 20:01:20 +0200 Subject: basic executable loading --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') 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) -- cgit v1.2.3