From 484b7daf71087837fa68a53276d4d71bdc8ee65b Mon Sep 17 00:00:00 2001 From: Brian West Date: Tue, 5 Sep 2006 18:50:39 +0000 Subject: [PATCH] Makefile for mod_g722 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2517 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/codecs/mod_g722/Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/mod/codecs/mod_g722/Makefile diff --git a/src/mod/codecs/mod_g722/Makefile b/src/mod/codecs/mod_g722/Makefile new file mode 100644 index 0000000000..c7aecd7114 --- /dev/null +++ b/src/mod/codecs/mod_g722/Makefile @@ -0,0 +1,16 @@ +LDFLAGS +=-lg7xx + +all: depends $(MODNAME).$(DYNAMIC_LIB_EXTEN) + +depends: + MAKE=$(MAKE) $(BASE)/build/buildlib.sh $(BASE) install codec/g7xx --prefix=$(PREFIX) + +$(MODNAME).$(DYNAMIC_LIB_EXTEN): $(MODNAME).c + $(CC) $(CFLAGS) -fPIC -c $(MODNAME).c -o $(MODNAME).o + $(CC) $(SOLINK) $(MODNAME).o -o $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(LDFLAGS) + +clean: + rm -fr *.$(DYNAMIC_LIB_EXTEN) *.o *~ + +install: + cp -f $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(PREFIX)/mod