2009-12-19 19:53:53 +00:00
|
|
|
GCC=g++ -I../ -I../imp_client/
|
|
|
|
|
2009-12-26 09:52:10 +00:00
|
|
|
all: dummy_test ogre_client_test ogre_resource_test
|
2009-12-19 19:53:53 +00:00
|
|
|
|
|
|
|
I_OGRE=$(shell pkg-config --cflags OGRE)
|
|
|
|
L_OGRE=$(shell pkg-config --libs OGRE)
|
|
|
|
|
|
|
|
ogre_client_test: ogre_client_test.cpp dummy_vfs.cpp ../vfs.h ../imp_client/wrapper.h ../imp_client/ogre_archive.h ../imp_client/ogre_archive.cpp
|
|
|
|
$(GCC) $< ../imp_client/ogre_archive.cpp -o $@ $(I_OGRE) $(L_OGRE)
|
|
|
|
|
2009-12-26 09:52:10 +00:00
|
|
|
ogre_resource_test: ogre_resource_test.cpp
|
|
|
|
$(GCC) $< -o $@ $(I_OGRE) $(L_OGRE)
|
|
|
|
|
2009-12-19 19:53:53 +00:00
|
|
|
dummy_test: dummy_test.cpp dummy_vfs.cpp ../vfs.h
|
|
|
|
$(GCC) $< -o $@
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm *_test
|