mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
22 lines
390 B
Makefile
22 lines
390 B
Makefile
.SUFFIXES: .i _wrap.c
|
|
|
|
.i_wrap.c:
|
|
$(SWIG) -O -Wall -python -keyword $<
|
|
|
|
showflags::
|
|
@echo 'tdb will be compiled with flags:'
|
|
@echo ' CFLAGS = $(CFLAGS)'
|
|
@echo ' CPPFLAGS = $(CPPFLAGS)'
|
|
@echo ' LDFLAGS = $(LDFLAGS)'
|
|
@echo ' LIBS = $(LIBS)'
|
|
|
|
.SUFFIXES: .c .o
|
|
|
|
.c.o:
|
|
@echo Compiling $*.c
|
|
@mkdir -p `dirname $@`
|
|
@$(CC) $(PICFLAG) $(CFLAGS) -c $< -o $@
|
|
|
|
distclean::
|
|
rm -f *~ */*~
|