2 # Makefile for transsip
3 # Author: Daniel Borkmann
6 include ..
/definitions.mk
8 INCLUDE
= -I..
-I.
/include/
9 LIBS
= -lspeexdsp
-lasound
-lcelt0
-lm
-lreadline
-lpthread
11 CFLAGS
+= -DPROGNAME_STRING
="\"transsip\"" -DVERSION_STRING
="\"0.5.0\""
13 core-objs
= transsip.o
14 lib-objs
= xmalloc.o \
27 @cd ..
&& cat ..
/VERSION | xargs .
/gen_build_info.pl
29 build
: $(lib-objs
) $(core-objs
)
30 @
$(LD
) $(target
) $(core-objs
) $(lib-objs
) $(LIBS
)
34 @
$(CC
) $(CFLAGS
) $(INCLUDE
) $<
37 @
rm *.o
*~
$(target
) || true