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