summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2024-07-30 09:18:57 -0400
committerBenji Dial <benji@benjidial.net>2024-07-30 09:18:57 -0400
commit86b343f17175ef3e1fad2197636f75770466aa7c (patch)
tree1d473650257f99659c8dbdf32b497b2d86b47650 /makefile
parent6cf7cd267b50fa68d7531655911620f17dde4a63 (diff)
downloadhilbert-os-86b343f17175ef3e1fad2197636f75770466aa7c.tar.gz
make recursive targets phony
Diffstat (limited to 'makefile')
-rw-r--r--makefile7
1 files changed, 7 insertions, 0 deletions
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