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