aboutsummaryrefslogtreecommitdiffstats
path: root/trunk/codecs/g722/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/codecs/g722/Makefile')
-rw-r--r--trunk/codecs/g722/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/trunk/codecs/g722/Makefile b/trunk/codecs/g722/Makefile
new file mode 100644
index 000000000..dee23c6e8
--- /dev/null
+++ b/trunk/codecs/g722/Makefile
@@ -0,0 +1,18 @@
+LIB=libg722.a
+CFLAGS+=-fPIC
+
+include $(ASTTOPDIR)/Makefile.rules
+
+OBJS=g722_encode.o g722_decode.o
+
+all: $(LIB)
+
+$(LIB): $(OBJS)
+ $(ECHO_PREFIX) echo " [AR] $^ -> $@"
+ $(CMD_PREFIX) $(AR) cr $@ $^
+ $(CMD_PREFIX) $(RANLIB) $@
+
+clean:
+ rm -f $(LIB) *.o
+ rm -f .*.o.d
+ rm -f *.s *.i