diff options
author | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-13 01:44:24 +0900 |
---|---|---|
committer | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-13 01:44:24 +0900 |
commit | e28f3aee8eca3cc7a10935f63899d5c4f6ba1ede (patch) | |
tree | 3e9da8eb6a913278403e100d0bbe0b9231a4b6ac /test/Makefile.alt | |
parent | 54f90e8fa8d02c96e2c6d0a5bd71603dc016cf70 (diff) | |
download | opencore-amr-e28f3aee8eca3cc7a10935f63899d5c4f6ba1ede.tar.gz opencore-amr-e28f3aee8eca3cc7a10935f63899d5c4f6ba1ede.tar.bz2 opencore-amr-e28f3aee8eca3cc7a10935f63899d5c4f6ba1ede.zip |
Tizen 2.1 base
Diffstat (limited to 'test/Makefile.alt')
-rw-r--r-- | test/Makefile.alt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/Makefile.alt b/test/Makefile.alt new file mode 100644 index 0000000..afab10e --- /dev/null +++ b/test/Makefile.alt @@ -0,0 +1,23 @@ +CFLAGS = -Wall -pedantic -I../amrnb -I../amrwb +CXXFLAGS = $(CFLAGS) +LDFLAGS = -L../amrnb -L../amrwb + +all: amrnb-dec amrnb-enc amrwb-dec + +amrnb-dec: amrnb-dec.o wav.o + $(CXX) -o $@ $+ $(LDFLAGS) -lopencore-amrnb + +amrnb-enc: amrnb-enc.o + $(CC) -o $@ $+ $(LDFLAGS) -lm -lopencore-amrnb + +amrwb-dec: amrwb-dec.o wav.o + $(CXX) -o $@ $+ $(LDFLAGS) -lopencore-amrwb + +# To check that both libraries can be linked in statically at the same +# time without duplicate symbols +linkboth: linkboth.o + $(CC) -static -o $@ $+ $(LDFLAGS) -lopencore-amrnb -lopencore-amrwb + +clean: + rm -f amrnb-dec amrnb-enc amrwb-dec linkboth *.o out.wav out.amr + |