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