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