mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 03:39:14 +00:00
23 lines
469 B
Makefile
23 lines
469 B
Makefile
GCC=g++
|
|
|
|
all: bsa_file_test bsatool ogre_archive_test
|
|
|
|
I_OGRE=$(shell pkg-config --cflags OGRE)
|
|
L_OGRE=$(shell pkg-config --libs OGRE)
|
|
|
|
bsa_file_test: bsa_file_test.cpp ../bsa_file.cpp
|
|
$(GCC) $^ -o $@
|
|
|
|
ogre_archive_test: ogre_archive_test.cpp ../bsa_file.cpp ../bsa_archive.cpp
|
|
$(GCC) $^ -o $@ $(I_OGRE) $(L_OGRE)
|
|
|
|
bsatool: bsatool.cpp ../bsa_file.cpp bsatool_cmd.c
|
|
$(GCC) $^ -o $@
|
|
|
|
bsatool_cmd.c: bsatool.ggo
|
|
gengetopt < bsatool.ggo
|
|
|
|
clean:
|
|
rm *_test
|
|
rm bsatool
|