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