2009-12-28 14:09:17 +01:00
|
|
|
GCC=g++ -I../
|
2009-11-17 18:33:19 +01:00
|
|
|
|
2010-01-01 20:18:11 +01:00
|
|
|
all: audiere_source_test ffmpeg_source_test openal_output_test openal_audiere_test
|
2009-11-17 18:33:19 +01:00
|
|
|
|
2010-01-01 20:18:11 +01:00
|
|
|
L_FFMPEG=$(shell pkg-config --libs libavcodec libavformat)
|
2009-11-17 18:33:19 +01:00
|
|
|
L_OPENAL=$(shell pkg-config --libs openal)
|
|
|
|
L_AUDIERE=-laudiere
|
|
|
|
|
2010-01-01 18:42:35 +01:00
|
|
|
openal_audiere_test: openal_audiere_test.cpp ../sources/audiere_source.cpp ../outputs/openal_out.cpp ../../stream/clients/audiere_file.cpp
|
2009-12-21 21:51:57 +01:00
|
|
|
$(GCC) $^ -o $@ $(L_AUDIERE) $(L_OPENAL)
|
|
|
|
|
2010-01-01 19:48:04 +01:00
|
|
|
openal_output_test: openal_output_test.cpp ../outputs/openal_out.cpp
|
|
|
|
$(GCC) $^ -o $@ $(L_OPENAL)
|
|
|
|
|
|
|
|
audiere_source_test: audiere_source_test.cpp ../sources/audiere_source.cpp ../../stream/clients/audiere_file.cpp
|
|
|
|
$(GCC) $^ -o $@ $(L_AUDIERE)
|
|
|
|
|
2010-01-01 20:18:11 +01:00
|
|
|
ffmpeg_source_test: ffmpeg_source_test.cpp ../sources/ffmpeg_source.cpp
|
|
|
|
$(GCC) $^ -o $@ $(L_FFMPEG)
|
|
|
|
|
2009-11-17 18:33:19 +01:00
|
|
|
clean:
|
|
|
|
rm *_test
|