forked from teamnwah/openmw-tes3coop
26 lines
1,018 B
Makefile
26 lines
1,018 B
Makefile
GCC=g++ -I../ -Wall
|
|
|
|
all: audiere_source_test ffmpeg_source_test openal_output_test openal_audiere_test openal_ffmpeg_test
|
|
|
|
L_FFMPEG=$(shell pkg-config --libs libavcodec libavformat)
|
|
I_FFMPEG=-I/usr/include/libavcodec -I/usr/include/libavformat
|
|
L_OPENAL=$(shell pkg-config --libs openal)
|
|
L_AUDIERE=-laudiere
|
|
|
|
openal_audiere_test: openal_audiere_test.cpp ../sources/audiere_source.cpp ../outputs/openal_out.cpp ../../stream/clients/audiere_file.cpp
|
|
$(GCC) $^ -o $@ $(L_AUDIERE) $(L_OPENAL)
|
|
|
|
openal_ffmpeg_test: openal_ffmpeg_test.cpp ../sources/ffmpeg_source.cpp ../outputs/openal_out.cpp
|
|
$(GCC) $^ -o $@ $(L_FFMPEG) $(L_OPENAL) $(I_FFMPEG)
|
|
|
|
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)
|
|
|
|
ffmpeg_source_test: ffmpeg_source_test.cpp ../sources/ffmpeg_source.cpp
|
|
$(GCC) $^ -o $@ $(L_FFMPEG) $(I_FFMPEG)
|
|
|
|
clean:
|
|
rm *_test
|