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