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