summaryrefslogtreecommitdiff
path: root/source4/lib/tdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-09-24 03:28:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:49 -0500
commit36cfc9c4acb17ac2a380a36c55cb444eff891db6 (patch)
tree587945a7bd8907da160551da31d6e805c856f313 /source4/lib/tdb
parent5540712156872cc55ea7502d836553a59a812033 (diff)
downloadsamba-36cfc9c4acb17ac2a380a36c55cb444eff891db6.tar.gz
samba-36cfc9c4acb17ac2a380a36c55cb444eff891db6.tar.bz2
samba-36cfc9c4acb17ac2a380a36c55cb444eff891db6.zip
r10462: cope better with compilers that don't put the object file in the same directory
as the source (This used to be commit 312491b2511039f3d6308e70c849810c35a3259c)
Diffstat (limited to 'source4/lib/tdb')
-rw-r--r--source4/lib/tdb/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/tdb/Makefile.in b/source4/lib/tdb/Makefile.in
index 1942d9050a..8b64315a83 100644
--- a/source4/lib/tdb/Makefile.in
+++ b/source4/lib/tdb/Makefile.in
@@ -17,6 +17,10 @@ TDB_OBJ = common/tdb.o common/dump.o common/io.o common/lock.o \
all: $(PROGS)
+.c.o:
+ @echo Compiling $*.c
+ @$(CC) $(CFLAGS) -c $< -o $@
+
install: all
mkdir -p $(bindir)
mkdir -p $(includedir)