summaryrefslogtreecommitdiff
path: root/mk/sinh.d
diff options
context:
space:
mode:
Diffstat (limited to 'mk/sinh.d')
-rw-r--r--mk/sinh.d11
1 files changed, 11 insertions, 0 deletions
diff --git a/mk/sinh.d b/mk/sinh.d
new file mode 100644
index 00000000..08e56c85
--- /dev/null
+++ b/mk/sinh.d
@@ -0,0 +1,11 @@
+libm_C.1: libm.a(sinh.o)
+libm.a(sinh.o): $(OBJDIR)/sinh.o
+ @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$%
+
+$(OBJDIR)/sinh.o: src/math/sinh.c
+$(OBJDIR)/sinh.o: src/complex/_tgmath.h
+$(OBJDIR)/src/math/_tgmath.h.o:
+$(OBJDIR)/sinh.o:
+ @echo " [CC] $@"
+ @mkdir -p $(@D)
+ @$(CC) -c -o $@ $(CFLAGS) src/math/sinh.c