]> git.sur5r.net Git - openldap/blobdiff - libraries/libmdb/Makefile
More subDB stuff
[openldap] / libraries / libmdb / Makefile
index 36e782ba4971183fdf88ae34655048d2d87e857a..92fed9493579ee53afafa5811ef09a5f141a9599 100644 (file)
@@ -7,13 +7,15 @@ LDLIBS        =
 all:   mtest mdb_stat
 
 clean:
-       rm -f mtest mdb_stat *.[ao] *~ testdb
+       rm -rf mtest mdb_stat *.[ao] *~ testdb
 
 test:  all
+       mkdir testdb
        ./mtest && ./mdb_stat testdb
 
 mdb_stat: mdb_stat.o mdb.o idl.o
 mtest:    mtest.o    mdb.o idl.o
+mtest2:        mtest2.o mdb.o idl.o
 
 %:     %.o mdb.o
        $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o $@