chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] clean up the OSDL document formatting a bit
[elogind.git]
/
tdb
/
Makefile
diff --git
a/tdb/Makefile
b/tdb/Makefile
index 59fbb079bd041aae081db0e4ac18ec391b8618a3..87fb680bdd0e356e80b5493b4694944f46cd3e34 100644
(file)
--- a/
tdb/Makefile
+++ b/
tdb/Makefile
@@
-3,12
+3,13
@@
#
CFLAGS = -DSTANDALONE -DTDB_DEBUG -g -DHAVE_MMAP=1
#
CFLAGS = -DSTANDALONE -DTDB_DEBUG -g -DHAVE_MMAP=1
-CC = gcc
PROGS = tdbtest tdbtool tdbtorture
TDB_OBJ = tdb.o spinlock.o
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
tdbtest: tdbtest.o $(TDB_OBJ)
$(CC) $(CFLAGS) -o tdbtest tdbtest.o $(TDB_OBJ) -lgdbm
@@
-27,3
+28,5
@@
tdbbackup: tdbbackup.o $(TDB_OBJ)
clean:
rm -f $(PROGS) *.o *~ *% core test.db test.tdb test.gdbm
clean:
rm -f $(PROGS) *.o *~ *% core test.db test.tdb test.gdbm
+
+spotless: clean