r10462: cope better with compilers that don't put the object file in the same directory
authorAndrew Tridgell <tridge@samba.org>
Sat, 24 Sep 2005 03:28:10 +0000 (03:28 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:38:49 +0000 (13:38 -0500)
as the source
(This used to be commit 312491b2511039f3d6308e70c849810c35a3259c)

source4/lib/tdb/Makefile.in

index 1942d9050a17357809417f4670707278de745a57..8b64315a8367305dcf1a513c9bc870f7024b9359 100644 (file)
@@ -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)