24 lines
448 B
Makefile
24 lines
448 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
|