summaryrefslogtreecommitdiff
path: root/kc/boot/Makefile
blob: 36d069e0ed5cb9ecd109f2851f5ce957ece1be1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
include ../../defaults.mk
include ../../efi.mk
include ../defaults.mk

VPATH := ../../lib ../

TARGET := efi.os
.DEFAULT: $(TARGET)

CPPFLAGS += -I../../api -I ../api
OBJS := entry_x86_64.o reloc_x86_64.o kc_main.o elf64.o memcmp.o memcpy.o \
	memmove.o memset.o

DEPS := $(patsubst %.o,%.d,$(OBJS))

$(TARGET): $(LDSCRIPT) $(MAKEFILE_LIST)
$(TARGET): $(OBJS)

CLEANLIST := $(wildcard $(OBJS) $(TARGET)) 
DCLEANLIST := $(wildcard $(DEPS))

include ../../rules.mk
-include $(DEPS)

.DEFAULT: $(TARGET)