2009-12-19 07:26:01 +00:00
|
|
|
GCC=g++ -I../ -I../imp_client/
|
|
|
|
|
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
|
|
|
|
|
|
|
ogre_client_test: ogre_client_test.cpp dummy_input.cpp ../input.h ../imp_client/iwrapper.h ../imp_client/ogre_datastream.h
|
|
|
|
$(GCC) $< -o $@ $(I_OGRE) $(L_OGRE)
|
|
|
|
|
2009-12-24 10:08:18 +00:00
|
|
|
audiere_client_test: audiere_client_test.cpp dummy_input.cpp ../input.h ../imp_client/iwrapper.h ../imp_client/audiere_file.h ../imp_client/audiere_file.cpp
|
|
|
|
$(GCC) $< -o $@ ../imp_client/audiere_file.cpp $(L_AUDIERE)
|
|
|
|
|
2009-12-19 07:26:01 +00:00
|
|
|
dummy_test: dummy_test.cpp dummy_input.cpp ../input.h
|
|
|
|
$(GCC) $< -o $@
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm *_test
|