summaryrefslogtreecommitdiff
path: root/mk/times.d
diff options
context:
space:
mode:
Diffstat (limited to 'mk/times.d')
-rw-r--r--mk/times.d9
1 files changed, 9 insertions, 0 deletions
diff --git a/mk/times.d b/mk/times.d
new file mode 100644
index 00000000..e0a1eb12
--- /dev/null
+++ b/mk/times.d
@@ -0,0 +1,9 @@
+libc_P.1: libc.a(times.o)
+libc.a(times.o): $(OBJDIR)/times.o
+ @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$%
+
+$(OBJDIR)/times.o: src/sys/times/times.c
+$(OBJDIR)/times.o:
+ @echo " [CC] $@"
+ @mkdir -p $(@D)
+ @$(CC) -c -o $@ $(CFLAGS) src/sys/times/times.c