mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-18 01:04:13 +00:00
put mods in subdirs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@269 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
6d6a7d672a
commit
d934a136f0
15 files changed
+92
-65
No files matched your search
@@ -1,12 +1,14 @@
|
||||
all: depends $(MOD).so
|
||||
all: depends $(MODNAME).so
|
||||
|
||||
depends:
|
||||
$(BASE)/buildlib.sh $(BASE) install speex-1.1.11.1.tar.gz --prefix=$(PREFIX)
|
||||
|
||||
$(MOD).so: $(MOD).c
|
||||
$(CC) $(CFLAGS) -fPIC -c $(MOD).c -o $(MOD).o
|
||||
$(CC) $(SOLINK) $(MOD).o -o $(MOD).so $(LDFLAGS) -lspeex
|
||||
$(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
|
||||
Reference in new issue
Block a user