Luna/Makefile
2022-10-02 17:01:30 +02:00

24 lines
475 B
Makefile

CC := x86_64-luna-gcc
CXX := x86_64-luna-g++
ASM := nasm
AR := x86_64-luna-ar
LD := x86_64-luna-ld
build:
@$(MAKE) -C kernel build
@$(MAKE) -C apps build
@$(MAKE) -C libs build
clean: initrd-clean
@$(MAKE) -C kernel clean
@$(MAKE) -C apps clean
@$(MAKE) -C libs clean
initrd-clean:
rm -f $(LUNA_ROOT)/initrd/boot/moon.elf $(LUNA_ROOT)/Luna.iso
rm -rf $(LUNA_ROOT)/initrd/bin
install:
@$(MAKE) -C kernel install
@$(MAKE) -C apps install
@$(MAKE) -C libs install