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