StupidOS/kernel/Makefile

27 lines
357 B
Makefile
Raw Normal View History

2024-02-04 19:18:52 +00:00
AS = fasm
RM = rm -f
INSTALL = install
KERNEL = vmstupid
2024-02-04 19:18:52 +00:00
SRCS = kernel.asm \
const.inc \
boot/multiboot.inc \
boot/boot.inc \
mm/mm.inc
.PHONY: all
all: $(KERNEL)
$(KERNEL): $(SRCS)
$(AS) kernel.asm $@
.PHONY: clean
clean:
$(RM) $(KERNEL)
2023-07-13 14:00:20 +00:00
2024-02-04 19:18:52 +00:00
.PHONY: install
install: $(KERNEL)
@ mkdir -p $(DESTDIR)
install $< $(DESTDIR)
2024-02-04 19:18:52 +00:00
.PHONY: all clean