aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-11-17 09:21:27 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-11-17 09:21:27 +0100
commit90e2e9e59dd38d075c6f95629f1087e24954a327 (patch)
treef70d99fd64f447347410905a5eaf65912cdd4eec /Makefile
parent3a8c93167b5879b1811e9b609227acbfe382a126 (diff)
downloadetisnoop-90e2e9e59dd38d075c6f95629f1087e24954a327.tar.gz
etisnoop-90e2e9e59dd38d075c6f95629f1087e24954a327.tar.bz2
etisnoop-90e2e9e59dd38d075c6f95629f1087e24954a327.zip
Etisnoop add faad_decoder
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f6a68b1..2b710f3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,16 @@
CC=g++
-SOURCES=etisnoop.cpp dabplussnoop.cpp lib_crc.c firecode.c
-HEADERS=dabplussnoop.h lib_crc.h firecode.h
+SOURCES=etisnoop.cpp dabplussnoop.cpp lib_crc.c firecode.c faad_decoder.cpp
+HEADERS=dabplussnoop.h lib_crc.h firecode.h faad_decoder.h
all: etisnoop
-etisnoop: $(SOURCES) $(HEADERS)
- $(CC) -Wall -ggdb $(SOURCES) $(HEADERS) -o etisnoop
+libfaad:
+ make -C ./faad2-2.7
+
+etisnoop: libfaad $(SOURCES) $(HEADERS)
+ $(CC) -Wall -ggdb $(SOURCES) $(HEADERS) faad2-2.7/libfaad/.libs/libfaad.a -o etisnoop
clean:
rm -f etisnoop *.o