summaryrefslogtreecommitdiff
path: root/usr.bin/date/Makefile
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-06-21 15:07:05 -0400
committerIan Moffett <ian@osmora.org>2025-06-21 15:07:05 -0400
commit44161afdb82c792be739fa2e5fb0d5c6394634d7 (patch)
treebbeecf5e055112e5b40491bb7543b99615e9b464 /usr.bin/date/Makefile
parentcba691959af3dd6fc1d0eb89ea81f41a022b526f (diff)
usr: usr.bin/time -> usr.bin/date
Change the 'time' binary to be called 'date' as it is more fitting for the type of program it is. Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr.bin/date/Makefile')
-rw-r--r--usr.bin/date/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/date/Makefile b/usr.bin/date/Makefile
new file mode 100644
index 0000000..09ff299
--- /dev/null
+++ b/usr.bin/date/Makefile
@@ -0,0 +1,6 @@
+include user.mk
+
+CFILES = $(shell find . -name "*.c")
+
+$(ROOT)/base/usr/bin/date:
+ gcc $(CFILES) -Iinclude/ -o $@ $(INTERNAL_CFLAGS)