2009-12-28 13:09:17 +00:00
|
|
|
GCC=g++ -I../
|
2009-12-19 07:26:01 +00:00
|
|
|
|
2009-12-24 10:08:18 +00:00
|
|
|
all: ogre_client_test dummy_test audiere_client_test
|
2009-12-19 07:26:01 +00:00
|
|
|
|
|
|
|
I_OGRE=$(shell pkg-config --cflags OGRE)
|
|
|
|
L_OGRE=$(shell pkg-config --libs OGRE)
|
2009-12-24 10:08:18 +00:00
|
|
|
L_AUDIERE=-laudiere
|
2009-12-19 07:26:01 +00:00
|
|
|
|
2009-12-29 15:16:33 +00:00
|
|
|
ogre_client_test: ogre_client_test.cpp ../stream.h ../clients/iwrapper.h ../clients/ogre_datastream.h
|
2009-12-19 07:26:01 +00:00
|
|
|
$(GCC) $< -o $@ $(I_OGRE) $(L_OGRE)
|
|
|
|
|
2009-12-29 15:16:33 +00:00
|
|
|
audiere_client_test: audiere_client_test.cpp ../stream.h ../clients/iwrapper.h ../clients/audiere_file.h ../clients/audiere_file.cpp
|
2009-12-28 13:09:17 +00:00
|
|
|
$(GCC) $< -o $@ ../clients/audiere_file.cpp $(L_AUDIERE)
|
2009-12-24 10:08:18 +00:00
|
|
|
|
2009-12-29 15:16:33 +00:00
|
|
|
memory_test: memory_test.cpp ../stream.h ../servers/memory_stream.h
|
2009-12-19 07:26:01 +00:00
|
|
|
$(GCC) $< -o $@
|
|
|
|
|
2009-12-30 10:50:21 +00:00
|
|
|
buffer_test: buffer_test.cpp ../stream.h ../servers/memory_stream.h ../filters/buffer_stream.h
|
|
|
|
$(GCC) $< -o $@
|
|
|
|
|
2009-12-19 07:26:01 +00:00
|
|
|
clean:
|
|
|
|
rm *_test
|