forked from mirror/openmw-tes3mp
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
|