summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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)