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