Luna/Makefile

26 lines
522 B
Makefile
Raw Normal View History

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
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
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:24:43 +00:00
initrd-clean:
rm -f $(LUNA_ROOT)/initrd/boot/moon $(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
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
@$(MAKE) -C apps install
@tools/install-built-ports.sh