2024-02-04 19:18:52 +00:00
|
|
|
AS = fasm
|
|
|
|
RM = rm -f
|
|
|
|
INSTALL = install
|
|
|
|
|
2023-06-29 04:09:31 +00:00
|
|
|
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)
|
2023-06-29 04:09:31 +00:00
|
|
|
|
2024-02-04 19:18:52 +00:00
|
|
|
.PHONY: all clean
|