mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 21:42:13 +00:00
20 lines
577 B
Makefile
20 lines
577 B
Makefile
GCC=g++
|
|
|
|
all: ogre_manualresource_test ogre_nif_test ogre_skeleton_test
|
|
|
|
I_OGRE=$(shell pkg-config --cflags OGRE)
|
|
L_OGRE=$(shell pkg-config --libs OGRE)
|
|
|
|
ogre_manualresource_test: ogre_manualresource_test.cpp
|
|
$(GCC) $^ -o $@ $(I_OGRE) $(L_OGRE)
|
|
|
|
ogre_skeleton_test: ogre_skeleton_test.cpp
|
|
$(GCC) $^ -o $@ $(I_OGRE) $(L_OGRE)
|
|
|
|
ogre_nif_test: ogre_nif_test.cpp ../../nif/nif_file.cpp ../../bsa/bsa_file.cpp ../../bsa/bsa_archive.cpp ../../tools/stringops.cpp ../../mangle/vfs/servers/ogre_vfs.cpp ../ogre_nif_loader.cpp
|
|
$(GCC) $^ -o $@ $(I_OGRE) $(L_OGRE)
|
|
|
|
clean:
|
|
rm *_test
|
|
|