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