TMP: add a ctdb snapshot of current ctdb master (git://git.samba.org/ctdb.git) to...
[obnox/samba/samba-obnox.git] / ctdb / lib / tdb / rules.mk
1 showflags::
2         @echo 'tdb will be compiled with flags:'
3         @echo '  CFLAGS = $(CFLAGS)'
4         @echo '  CPPFLAGS = $(CPPFLAGS)'
5         @echo '  LDFLAGS = $(LDFLAGS)'
6         @echo '  LIBS = $(LIBS)'
7
8 .SUFFIXES: .c .o
9
10 .c.o:
11         @echo Compiling $*.c
12         @mkdir -p `dirname $@`
13         @$(CC) $(PICFLAG) $(CFLAGS) $(ABI_CHECK) -c $< -o $@
14
15 distclean::
16         rm -f *~ */*~