blah
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@148 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
6b2a156651
commit
905d424939
|
@ -1,9 +1,17 @@
|
|||
#CFLAGS += -I/usr/src/common/src
|
||||
LDFLAGS += -leXosip2 -ljrtp4c
|
||||
|
||||
OSARCH=$(shell uname -s)
|
||||
ifeq ($(OSARCH),Darwin)
|
||||
LINKER=g++
|
||||
else
|
||||
LINKER=$(CC)
|
||||
endif
|
||||
|
||||
|
||||
$(MOD).so: $(MOD).c
|
||||
$(CC) $(CFLAGS) -fPIC -c $(MOD).c -o $(MOD).o
|
||||
$(CC) $(SOLINK) -o $(MOD).so $(MOD).o $(LDFLAGS)
|
||||
$(LINKER) $(SOLINK) -o $(MOD).so $(MOD).o $(LDFLAGS)
|
||||
|
||||
all: $(MOD).so
|
||||
|
||||
|
|
Loading…
Reference in New Issue