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