From 86b343f17175ef3e1fad2197636f75770466aa7c Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Tue, 30 Jul 2024 09:18:57 -0400 Subject: make recursive targets phony --- makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'makefile') diff --git a/makefile b/makefile index 8a04f0e..c827422 100644 --- a/makefile +++ b/makefile @@ -100,6 +100,7 @@ ${LIBSTDCPP_DEP}: ${LIBGCC_DEP} patch toolchain/usr/x86_64-elf/include/c++/14.1.0/memory patches/gcc-memory.patch touch $@ +.PHONY: ${EULER_DEP} ${EULER_DEP}: ${LIBRARY_DEPS} +make -C euler build/crt0.o build/libc.a build/libg.a build/libm.a mkdir -p ${LIB_DIR} @@ -107,25 +108,31 @@ ${EULER_DEP}: ${LIBRARY_DEPS} euler/build/libg.a euler/build/libm.a ${LIB_DIR}/ touch $@ +.PHONY: ${DAGUERRE_DEP} ${DAGUERRE_DEP}: ${LIBRARY_DEPS} +make -C libraries/daguerre build/libdaguerre.a cp libraries/daguerre/build/libdaguerre.a ${LIB_DIR}/ touch $@ +.PHONY: ${PAKE_DEP} ${PAKE_DEP}: ${LIBRARY_DEPS} +make -C libraries/pake build/libpake.a cp libraries/pake/build/libpake.a ${LIB_DIR}/ touch $@ +.PHONY: kernel/build/kernel.elf kernel/build/kernel.elf: ${GCC_DEP} ${MINTSUKI_HEADERS_DEP} ${LIMINE_DEP} +make -C kernel build/kernel.elf +.PHONY: applications/init/build/init.elf applications/init/build/init.elf: ${APP_DEPS} +make -C applications/init build/init.elf +.PHONY: applications/goldman/build/goldman.elf applications/goldman/build/goldman.elf: ${APP_DEPS} ${DAGUERRE_DEP} +make -C applications/goldman build/goldman.elf +.PHONY: applications/hello/build/hello.elf applications/hello/build/hello.elf: ${APP_DEPS} ${DAGUERRE_DEP} ${PAKE_DEP} +make -C applications/hello build/hello.elf -- cgit v1.2.3