diff options
author | Mark Spencer <markster@digium.com> | 2003-05-06 00:00:20 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-05-06 00:00:20 +0000 |
commit | 1a3cd8e6ad52008d37981ca9043da28c18f567f6 (patch) | |
tree | a420a69f2f690405d9bc3d526e46be177d3ff80d /formats | |
parent | fda8b94bdf5ebf5da8cbdd7a3a971df23022a3e4 (diff) |
dep fix, pbx fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@962 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'formats')
-rwxr-xr-x | formats/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/formats/Makefile b/formats/Makefile index 0cc2cb41f..885469463 100755 --- a/formats/Makefile +++ b/formats/Makefile @@ -19,16 +19,23 @@ GSMLIB=../codecs/gsm/lib/libgsm.a CFLAGS+=-fPIC -all: $(FORMAT_LIBS) +all: depend $(FORMAT_LIBS) clean: - rm -f *.so *.o + rm -f *.so *.o .depend %.so : %.o $(CC) -shared -Xlinker -x -o $@ $< +include .depend + format_mp3.so : format_mp3.o $(CC) -shared -Xlinker -x -o $@ $< -lm install: all for x in $(FORMAT_LIBS); do $(INSTALL) -m 755 $$x $(MODULES_DIR) ; done + +depend: .depend + +.depend: + ../mkdep $(CFLAGS) `ls *.c` |