mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-18 15:28:33 +00:00
minor mod- I kept build.sh in the root dir for now. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@560 d0543943-73ff-0310-b7d9-9358b9ac24b2
15 lines
357 B
Makefile
15 lines
357 B
Makefile
all: depends $(MODNAME).so
|
|
|
|
depends:
|
|
MAKE=$(MAKE) $(BASE)/build/buildlib.sh $(BASE) install speex-1.1.11.1.tar.gz --prefix=$(PREFIX)
|
|
|
|
$(MODNAME).so: $(MODNAME).c
|
|
$(CC) $(CFLAGS) -fPIC -c $(MODNAME).c -o $(MODNAME).o
|
|
$(CC) $(SOLINK) $(MODNAME).o -o $(MODNAME).so $(LDFLAGS) -lspeex
|
|
|
|
clean:
|
|
rm -fr *.so *.o *~
|
|
|
|
install:
|
|
cp -f $(MODNAME).so $(PREFIX)/mod
|