StupidOS/boot/loader/Makefile
d0p1 🏳️‍⚧️ 74e09f7b33
Some checks are pending
Build / test (push) Waiting to run
Docs / test (push) Waiting to run
refactor: reorganize bootloader source code
2024-03-24 09:03:03 +01:00

23 lines
314 B
Makefile

TARGET = stpdldr.sys
LOADER_SRCS = loader.asm \
../common/const.inc \
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)