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