summaryrefslogtreecommitdiff
path: root/source3/tdb/Makefile
blob: ffcff634b22ffa9fc475c34f8c82de659d8533ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#
# Makefile for tdb directory
#

CFLAGS = -DSTANDALONE -DTDB_DEBUG -g -DMMAP
CC = gcc
PROGS = tdbtest tdbtool tdbtorture

default: $(PROGS)

tdbtest: tdbtest.o tdb.o
	$(CC) $(CFLAGS) -o tdbtest tdbtest.o tdb.o -lgdbm

tdbtool: tdbtool.o tdb.o
	$(CC) $(CFLAGS) -o tdbtool tdbtool.o tdb.o

tdbtorture: tdbtorture.o tdb.o
	$(CC) $(CFLAGS) -o tdbtorture tdbtorture.o tdb.o

clean:
	rm -f $(PROGS) *.o *~ *% core test.db test.tdb test.gdbm