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