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