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