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