summaryrefslogtreecommitdiff
path: root/source3/tdb/Makefile
blob: dbc59047c741d1e36759c2c44b99c3abd3fe2d23 (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
	gcc -o tdbtest tdbtest.o tdb.o -lgdbm

tdbtool: tdbtool.o tdb.o
	gcc -o tdbtool tdbtool.o tdb.o

tdbtorture: tdbtorture.o tdb.o
	gcc -o tdbtorture tdbtorture.o tdb.o

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