aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/g722/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'codecs/g722/Makefile')
-rw-r--r--codecs/g722/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/codecs/g722/Makefile b/codecs/g722/Makefile
new file mode 100644
index 000000000..b69afaaa2
--- /dev/null
+++ b/codecs/g722/Makefile
@@ -0,0 +1,16 @@
+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