chiark / gitweb /
[PATCH] PATCH some cleanups and security fixes
[elogind.git] / tdb / Makefile
index 06e31fcc7fa6f099c9c5016600ed5ada13931ce1..87fb680bdd0e356e80b5493b4694944f46cd3e34 100644 (file)
@@ -7,7 +7,9 @@ CFLAGS = -DSTANDALONE -DTDB_DEBUG -g -DHAVE_MMAP=1
 PROGS = tdbtest tdbtool tdbtorture
 TDB_OBJ = tdb.o spinlock.o
 
-default: $(PROGS)
+default: $(TDB_OBJ)
+
+progs: $(PROGS)
 
 tdbtest: tdbtest.o $(TDB_OBJ)
        $(CC) $(CFLAGS) -o tdbtest tdbtest.o $(TDB_OBJ) -lgdbm
@@ -26,3 +28,5 @@ tdbbackup: tdbbackup.o $(TDB_OBJ)
 
 clean:
        rm -f $(PROGS) *.o *~ *% core test.db test.tdb test.gdbm
+
+spotless: clean