1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00
OpenMW/vfs/tests/Makefile

26 lines
828 B
Makefile
Raw Normal View History

2009-12-26 12:13:31 +01:00
GCC=g++ -I../
2009-12-26 13:35:34 +01:00
all: dummy_test ogre_client_test ogre_resource_test ogre_server_test physfs_server_test
I_OGRE=$(shell pkg-config --cflags OGRE)
L_OGRE=$(shell pkg-config --libs OGRE)
2009-12-26 13:35:34 +01:00
L_PHYSFS=-lphysfs
2010-06-03 20:13:27 +02:00
ogre_client_test: ogre_client_test.cpp dummy_vfs.cpp ../vfs.hpp ../clients/ogre_archive.hpp ../clients/ogre_archive.cpp
$(GCC) $< ../clients/ogre_archive.cpp -o $@ $(I_OGRE) $(L_OGRE)
ogre_resource_test: ogre_resource_test.cpp
$(GCC) $< -o $@ $(I_OGRE) $(L_OGRE)
2010-06-03 20:13:27 +02:00
ogre_server_test: ogre_server_test.cpp ../vfs.hpp ../servers/ogre_vfs.hpp ../servers/ogre_vfs.cpp
$(GCC) $< -o $@ $(I_OGRE) $(L_OGRE) ../servers/ogre_vfs.cpp
2009-12-26 12:13:31 +01:00
2010-06-03 20:13:27 +02:00
physfs_server_test: physfs_server_test.cpp ../vfs.hpp ../servers/physfs_vfs.hpp
2009-12-26 13:35:34 +01:00
$(GCC) $< -o $@ $(L_PHYSFS)
2010-06-03 20:13:27 +02:00
dummy_test: dummy_test.cpp dummy_vfs.cpp ../vfs.hpp
$(GCC) $< -o $@
clean:
rm *_test