forked from teamnwah/openmw-tes3coop
69e8f9c9db
- renamed imp_client/ to clients/ and ditto for servers/ - renamed imp/ to servers/ - renamed stream/input.h to stream/stream.h - renamed Stream::InputStream to Stream::Stream - updated various tests and makefiles - NOT TESTED YET
25 lines
835 B
Makefile
25 lines
835 B
Makefile
GCC=g++ -I../
|
|
|
|
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)
|
|
L_PHYSFS=-lphysfs
|
|
|
|
ogre_client_test: ogre_client_test.cpp dummy_vfs.cpp ../vfs.h ../clients/wrapper.h ../clients/ogre_archive.h ../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)
|
|
|
|
ogre_server_test: ogre_server_test.cpp ../vfs.h ../servers/ogre_vfs.h ../servers/ogre_vfs.cpp
|
|
$(GCC) $< -o $@ $(I_OGRE) $(L_OGRE) ../servers/ogre_vfs.cpp
|
|
|
|
physfs_server_test: physfs_server_test.cpp ../vfs.h ../servers/physfs_vfs.h
|
|
$(GCC) $< -o $@ $(L_PHYSFS)
|
|
|
|
dummy_test: dummy_test.cpp dummy_vfs.cpp ../vfs.h
|
|
$(GCC) $< -o $@
|
|
|
|
clean:
|
|
rm *_test
|