summaryrefslogtreecommitdiff
path: root/mk/__time.d
diff options
context:
space:
mode:
Diffstat (limited to 'mk/__time.d')
-rw-r--r--mk/__time.d10
1 files changed, 10 insertions, 0 deletions
diff --git a/mk/__time.d b/mk/__time.d
new file mode 100644
index 00000000..3fdc33eb
--- /dev/null
+++ b/mk/__time.d
@@ -0,0 +1,10 @@
+libc_C.0: libc.a(__time.o)
+libc.a(__time.o): $(OBJDIR)/__time.o
+ @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$%
+
+$(OBJDIR)/__time.o: src/time/__time.c
+$(OBJDIR)/__time.o: src/time/_time.h
+$(OBJDIR)/__time.o:
+ @echo " [CC] $@"
+ @mkdir -p $(@D)
+ @$(CC) -c -o $@ $(CFLAGS) src/time/__time.c