2022-10-02 10:44:32 +00:00
|
|
|
CC := x86_64-luna-gcc
|
|
|
|
CXX := x86_64-luna-g++
|
|
|
|
ASM := nasm
|
|
|
|
AR := x86_64-luna-ar
|
|
|
|
LD := x86_64-luna-ld
|
2022-09-05 14:13:51 +00:00
|
|
|
|
2022-10-02 10:44:32 +00:00
|
|
|
build:
|
2022-10-02 15:25:56 +00:00
|
|
|
tools/sync-libc.sh
|
2022-10-02 15:01:30 +00:00
|
|
|
@$(MAKE) -C kernel build
|
|
|
|
@$(MAKE) -C libs build
|
2022-10-02 15:25:56 +00:00
|
|
|
@$(MAKE) -C apps build
|
2022-10-02 10:44:32 +00:00
|
|
|
|
|
|
|
clean: initrd-clean
|
2022-10-02 15:01:30 +00:00
|
|
|
@$(MAKE) -C kernel clean
|
|
|
|
@$(MAKE) -C libs clean
|
2022-10-02 15:25:56 +00:00
|
|
|
@$(MAKE) -C apps clean
|
2022-09-18 18:20:51 +00:00
|
|
|
|
2022-09-18 18:24:43 +00:00
|
|
|
initrd-clean:
|
2022-09-24 19:29:10 +00:00
|
|
|
rm -f $(LUNA_ROOT)/initrd/boot/moon.elf $(LUNA_ROOT)/Luna.iso
|
2022-09-30 15:43:14 +00:00
|
|
|
rm -rf $(LUNA_ROOT)/initrd/bin
|
2022-09-05 14:13:51 +00:00
|
|
|
|
2022-10-02 10:44:32 +00:00
|
|
|
install:
|
2022-10-02 15:01:30 +00:00
|
|
|
@$(MAKE) -C kernel install
|
2022-10-02 15:25:56 +00:00
|
|
|
@$(MAKE) -C libs install
|
2022-10-23 14:44:50 +00:00
|
|
|
@$(MAKE) -C apps install
|
|
|
|
@tools/install-built-ports.sh
|