2024-03-24 08:03:03 +00:00
|
|
|
TARGET = stpdldr.sys
|
|
|
|
|
|
|
|
LOADER_SRCS = loader.asm \
|
|
|
|
../common/const.inc \
|
2024-04-28 06:41:36 +00:00
|
|
|
video.inc \
|
|
|
|
memory.inc \
|
|
|
|
logger.inc \
|
2024-03-24 08:03:03 +00:00
|
|
|
a20.inc \
|
|
|
|
multiboot.inc
|
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
all: $(TARGET)
|
|
|
|
|
|
|
|
|
|
|
|
stpdldr.sys: $(LOADER_SRCS)
|
|
|
|
$(AS) loader.asm $@
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
$(RM) $(TARGET)
|
|
|
|
|
|
|
|
.PHONY: install
|
|
|
|
install: $(TARGET)
|
|
|
|
@ mkdir -p $(DESTDIR)
|
|
|
|
install $(TARGET) $(DESTDIR)
|