aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: c0a3a527ba7322df5c6dd1e7bb87aea1d11bb059 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
CC=g++

SOURCES=etisnoop.cpp dabplussnoop.cpp lib_crc.c firecode.c faad_decoder.cpp wavfile.c
HEADERS=dabplussnoop.h lib_crc.h firecode.h faad_decoder.h wavfile.h

all: etisnoop

etisnoop: $(SOURCES) $(HEADERS)
	$(CC) -Wall -ggdb $(SOURCES) $(HEADERS) -lfaad -o etisnoop

etisnoop-static: libfaad $(SOURCES) $(HEADERS)
	$(CC) -Wall -ggdb $(SOURCES) $(HEADERS) -Ifaad2-2.7/include faad2-2.7/libfaad/.libs/libfaad.a -o etisnoop

libfaad:
	make -C ./faad2-2.7


clean:
	rm -f etisnoop *.o