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