Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
[Samba.git] / lib / tdb / rules.mk
blob7b765625dfc292aecd84d4269174e3228789ef8b
1 .SUFFIXES: .i _wrap.c
3 .i_wrap.c:
4 $(SWIG) -O -Wall -python -keyword $<
6 showflags::
7 @echo 'tdb will be compiled with flags:'
8 @echo ' CFLAGS = $(CFLAGS)'
9 @echo ' CPPFLAGS = $(CPPFLAGS)'
10 @echo ' LDFLAGS = $(LDFLAGS)'
11 @echo ' LIBS = $(LIBS)'
13 .SUFFIXES: .c .o
15 .c.o:
16 @echo Compiling $*.c
17 @mkdir -p `dirname $@`
18 @$(CC) $(PICFLAG) $(CFLAGS) -c $< -o $@
20 distclean::
21 rm -f *~ */*~