summaryrefslogtreecommitdiff
path: root/usr.bin/time/Makefile
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-06-08 03:35:11 -0400
committerIan Moffett <ian@osmora.org>2025-06-08 04:15:14 -0400
commit23dd48314900691c8f1cebbc7f592104a36fe2ab (patch)
treeaa398ef6ec76c4d35fcec56028e850c53a596687 /usr.bin/time/Makefile
parentf69c8437da833fadd2286b87d5c12b16470363c5 (diff)
usr.bin: Add 'time' command to return current timeexpt
- Add usr.bin/time/ program to read RTC - Add 'time' command to osh Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr.bin/time/Makefile')
-rw-r--r--usr.bin/time/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/time/Makefile b/usr.bin/time/Makefile
new file mode 100644
index 0000000..9ac98b4
--- /dev/null
+++ b/usr.bin/time/Makefile
@@ -0,0 +1,6 @@
+include user.mk
+
+CFILES = $(shell find . -name "*.c")
+
+$(ROOT)/base/usr/bin/time:
+ gcc $(CFILES) -Iinclude/ -o $@ $(INTERNAL_CFLAGS)