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