summaryrefslogtreecommitdiff
path: root/usr.bin/whoami/Makefile
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-07-18 02:41:33 -0400
committerIan Moffett <ian@osmora.org>2025-07-18 02:41:33 -0400
commita6388083e6f45aa92f5baaa1e654645887b61c53 (patch)
tree12c5b654c19aff62a071703ce3beb021a875a48b /usr.bin/whoami/Makefile
parentd681314c69a82177be48e630c401f3bd99285d5c (diff)
usr: Add 'whoami' program
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr.bin/whoami/Makefile')
-rw-r--r--usr.bin/whoami/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/whoami/Makefile b/usr.bin/whoami/Makefile
new file mode 100644
index 0000000..ced9ae2
--- /dev/null
+++ b/usr.bin/whoami/Makefile
@@ -0,0 +1,6 @@
+include user.mk
+
+CFILES = $(shell find . -name "*.c")
+
+$(ROOT)/base/usr/bin/whoami:
+ gcc $(CFILES) -o $@ $(INTERNAL_CFLAGS)