summaryrefslogtreecommitdiff
path: root/kjarna/Makefile
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2024-02-13 01:04:02 +0000
committerAda Christine <adachristine18@gmail.com>2024-02-13 01:04:02 +0000
commit96ff1a24a7474b91c44a3dcd6f3abf3ec0542191 (patch)
treef79dc76febe07d23d1ee6caf9a0b93bfcb85919d /kjarna/Makefile
parent3f9278b48ff4bc0d2cf1604034b3bba548572f04 (diff)
reorganize a bit
Diffstat (limited to 'kjarna/Makefile')
-rw-r--r--kjarna/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/kjarna/Makefile b/kjarna/Makefile
index 4cf6102..b02fbe6 100644
--- a/kjarna/Makefile
+++ b/kjarna/Makefile
@@ -1,7 +1,7 @@
include ../defaults.mk
include ../efi.mk
-VPATH := ../lib
+VPATH := ../lib efi/
IMAGE := kjarna.efi
@@ -18,9 +18,10 @@ all: $(IMAGE)
CRT_OBJS := start.o
LIB_OBJS := memcmp.o memset.o memcpy.o memmove.o string.o elf64.o
-APP_OBJS := file.o memory.o protocol.o runtime.o
+EFI_OBJS := file.o memory.o protocol.o runtime.o
+APP_OBJS := main.o
-OBJS := $(CRT_OBJS) $(LIB_OBJS) $(APP_OBJS)
+OBJS := $(CRT_OBJS) $(LIB_OBJS) $(EFI_OBJS) $(APP_OBJS)
DEPS := $(OBJS:.o=.d)
$(IMAGE): $(OBJS)