summaryrefslogtreecommitdiff
path: root/usr.bin/kstat/Makefile
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-07-16 20:50:19 -0400
committerIan Moffett <ian@osmora.org>2025-07-16 20:50:19 -0400
commitd6bd4640721867f59d89c68fddb15098524c56c8 (patch)
treefe25f20d4642d0c696d9de922b63f8f4f945ebc9 /usr.bin/kstat/Makefile
parent8a3973e46941b6a8c88a49594364a04ee4b1d84e (diff)
usr: Add 'kstat' program for system info
The 'kstat' program provides kernel statistics and accounting information Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr.bin/kstat/Makefile')
-rw-r--r--usr.bin/kstat/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/kstat/Makefile b/usr.bin/kstat/Makefile
new file mode 100644
index 0000000..ccceb3c
--- /dev/null
+++ b/usr.bin/kstat/Makefile
@@ -0,0 +1,6 @@
+include user.mk
+
+CFILES = $(shell find . -name "*.c")
+
+$(ROOT)/base/usr/bin/kstat:
+ gcc $(CFILES) -o $@ $(INTERNAL_CFLAGS)