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