summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2025-01-23 00:24:57 +0000
committerAda Christine <adachristine18@gmail.com>2025-01-23 00:24:57 +0000
commitd855c0a219a180497c2e50f9bc19bfce69b937a6 (patch)
tree1ff8523d41b222fb356fb3404d2a53c26a7d6a3d /Makefile
parentedd52bd1464ee9ae4f0cdf7ff90a20ca175580fe (diff)
it printfs with the efi interface
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e27f920..89bfa4d 100644
--- a/Makefile
+++ b/Makefile
@@ -4,8 +4,11 @@ BOOT_FILE := $(BOOT_DIR)/kjarna.efi
SERVICE_DIR := service
SERVICE_FILE := $(SERVICE_DIR)/kjarna.os
-TARGETS := $(SERVICE_FILE) $(BOOT_FILE)
-DIRS := $(SERVICE_DIR) $(BOOT_DIR)
+CORE_DIR := kc/core
+CORE_FILE := $(CORE_DIR)/kernel.os
+
+TARGETS := $(SERVICE_FILE) $(BOOT_FILE) $(CORE_FILE)
+DIRS := $(SERVICE_DIR) $(BOOT_DIR) $(CORE_DIR)
DIRS_CLEAN := $(addprefix clean-,$(DIRS))
DIRS_DISTCLEAN := $(addprefix dist,$(DIRS_CLEAN))
@@ -23,5 +26,5 @@ $(DIRS_DISTCLEAN): distclean-%:
$(TARGETS):
$(MAKE) -C $(dir $@)
-.PHONY: all clean distclean $(DIRS) $(DIRS_CLEAN) $(DIRS_DISTCLEAN)
+.PHONY: all clean distclean $(TARGETS) $(DIRS) $(DIRS_CLEAN) $(DIRS_DISTCLEAN)