From b1cf9e5dfbc8967bd7cb2a22ec1e5e521f4e0e6e Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Wed, 31 Jul 2024 13:36:53 -0400 Subject: add clock --- makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'makefile') diff --git a/makefile b/makefile index c827422..3151d4d 100644 --- a/makefile +++ b/makefile @@ -44,6 +44,7 @@ clean: make -C applications/init clean make -C applications/goldman clean make -C applications/hello clean + make -C applications/clock clean make -C libraries/daguerre clean make -C libraries/pake clean @@ -136,15 +137,21 @@ applications/goldman/build/goldman.elf: ${APP_DEPS} ${DAGUERRE_DEP} applications/hello/build/hello.elf: ${APP_DEPS} ${DAGUERRE_DEP} ${PAKE_DEP} +make -C applications/hello build/hello.elf +.PHONY: applications/clock/build/clock.elf +applications/clock/build/clock.elf: ${APP_DEPS} ${DAGUERRE_DEP} ${PAKE_DEP} + +make -C applications/clock build/clock.elf + build/initfs.tgz: applications/init/build/init.elf \ applications/goldman/build/goldman.elf \ - applications/hello/build/hello.elf + applications/hello/build/hello.elf \ + applications/clock/build/clock.elf @mkdir -p build rm -rf build/initfs cp -r skeleton build/initfs cp applications/init/build/init.elf build/initfs/bin/init cp applications/goldman/build/goldman.elf build/initfs/bin/goldman cp applications/hello/build/hello.elf build/initfs/bin/hello + cp applications/clock/build/clock.elf build/initfs/bin/clock cd build/initfs && tar czf ../initfs.tgz . build/disk.iso: kernel/build/kernel.elf build/initfs.tgz ${LIMINE_DEP} -- cgit v1.2.3