2 CFLAGS
= -O2
-g
-I ..
/src
5 CFLAGS
+= -Werror
-Wall
-std
=gnu99
7 PJ_CFLAGS ?
= `pkg-config libpjproject --cflags`
8 PJ_LDFLAGS ?
= `pkg-config libpjproject --libs`
10 CFLAGS
+= $(PJ_CFLAGS
)
11 LDFLAGS
+= $(PJ_LDFLAGS
)
18 $(CC
) -c
-o
$@
$^
$(CFLAGS
)
20 tapi-sip
: contact.o session.o tapi_agent.o tapi_sip.o sip_client.o stun.o dialdetector.o
21 $(CC
) -o
$@
$^
-ltapi
-luci
$(LDFLAGS
)