aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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