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