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