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