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