1
0

ops(MP/daemon): add daemon build system

This commit is contained in:
2026-06-05 14:47:36 +02:00
parent 619dfb4720
commit 6e19040c50
4 changed files with 22 additions and 1 deletions

View File

@@ -4,4 +4,6 @@
*.mod.c
*.mod.o
*.ko.cmd
*.mod.cmd
*.mod.cmd
daemon/daemon

View File

@@ -0,0 +1,7 @@
EXE=daemon
SRCS=$(shell find . -name "*.c")
LDFLAGS+=-lpthread
EXTRA_CFLAGS+=-I.
# Include the standard application Makefile for the CSEL1 labs
include ../../appl.mk

View File

@@ -0,0 +1,9 @@
@default:
just --list
@build:
make
@clean:
make clean
rm -f -- daemon

View File

@@ -1,13 +1,16 @@
mod kernel
mod daemon
@default:
just --list
@build:
just kernel::build
just daemon::build
@clean:
just kernel::clean
just daemon::clean
rm -rf build
rm -rf .obj
rm -f -- mini-project