Luna/Makefile

26 lines
606 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-11-08 17:03:43 +00:00
+@tools/sync-libc.sh
+@tools/buildstep.sh kernel build
+@tools/buildstep.sh libs build
+@tools/buildstep.sh apps build
clean: initrd-clean
2022-11-08 17:03:43 +00:00
+@tools/buildstep.sh kernel clean
+@tools/buildstep.sh libs clean
+@tools/buildstep.sh 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-11-08 17:03:43 +00:00
+@tools/buildstep.sh kernel install
+@tools/buildstep.sh libs install
+@tools/buildstep.sh apps install
+@tools/install-built-ports.sh