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