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