summaryrefslogtreecommitdiff
path: root/usr.bin/kmsg/Makefile
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-05-31 17:14:55 -0400
committerIan Moffett <ian@osmora.org>2025-05-31 17:14:55 -0400
commitb86fde14a13edabcb6b9552910c89e64f68a6e8e (patch)
treeb7a4bf2a8d3e7f50d039d1fedaf3b2990fc00f33 /usr.bin/kmsg/Makefile
parent7609d17106b077595439008437b8e3845a930006 (diff)
usr.bin: osh: Make kmsg its own program
- Give command table entries a path field to refer to paths of executable files - Make kmsg its own program in /usr/bin/kmsg Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr.bin/kmsg/Makefile')
-rw-r--r--usr.bin/kmsg/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/kmsg/Makefile b/usr.bin/kmsg/Makefile
new file mode 100644
index 0000000..9b76cc2
--- /dev/null
+++ b/usr.bin/kmsg/Makefile
@@ -0,0 +1,6 @@
+include user.mk
+
+CFILES = $(shell find . -name "*.c")
+
+$(ROOT)/base/usr/bin/kmsg:
+ gcc $(CFILES) -o $@ $(INTERNAL_CFLAGS)