blob: f73a8f41ad83a9ce202c31938b1e631b8b39cc0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
CC=gcc
CXX=g++
CFLAGS = -Wall -g --std=c99
CXXFLAGS = -Wall -g --std=c++11 -DDPS_DEBUG=1
SOURCES = src/dabplussnoop.cpp \
src/faadalyse.cpp \
src/faad_decoder.cpp \
src/rsdecoder.cpp
CSOURCES = src/firecode.c \
src/lib_crc.c \
src/wavfile.c \
src/fec/decode_rs_char.c \
src/fec/encode_rs_char.c \
src/fec/init_rs_char.c
HEADERS = src/dabplussnoop.hpp \
src/faad_decoder.hpp \
src/firecode.h \
src/lib_crc.h \
src/rsdecoder.hpp \
src/wavfile.h \
src/fec/char.h \
src/fec/decode_rs.h \
src/fec/encode_rs.h \
src/fec/fec.h \
src/fec/init_rs.h \
src/fec/rs-common.h
all: faadalyse
faadalyse: libfaad $(SOURCES) $(CSOURCES) $(HEADERS)
$(CXX) $(CXXFLAGS) $(SOURCES) -Ifaad2-2.7/include -c
$(CC) $(CFLAGS) $(CSOURCES) -c
$(CXX) *.o faad2-2.7/libfaad/.libs/libfaad.a -o faadalyse
libfaad:
make -C ./faad2-2.7
clean:
rm -f faadalyse *.o
|