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