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