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