diff options
Diffstat (limited to 'mk/abs.d')
| -rw-r--r-- | mk/abs.d | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mk/abs.d b/mk/abs.d new file mode 100644 index 00000000..2e7cb8bc --- /dev/null +++ b/mk/abs.d @@ -0,0 +1,9 @@ +libc_C.1: libc.a(abs.o) +libc.a(abs.o): $(OBJDIR)/abs.o + @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$% + +$(OBJDIR)/abs.o: src/stdlib/abs.c +$(OBJDIR)/abs.o: + @echo " [CC] $@" + @mkdir -p $(@D) + @$(CC) -c -o $@ $(CFLAGS) src/stdlib/abs.c |
