SDL-mirror/test/test-automation/Makefile.am
2011-06-21 22:04:44 +03:00

27 lines
857 B
Makefile

ACLOCAL_AMFLAGS = -I acinclude -I build-scripts
SUBDIRS = testdummy testrect testplatform
bin_PROGRAMS = runner
runner_SOURCES = runner.c SDL_test.c
runner_CLAGS = -W -Wall -Wextra -g `sdl-config --cflags` -DSDL_NO_COMPAT
runner_LDFLAGS = `sdl-config --libs`
bin_PROGRAMS = logger
logger_SOURCES = xml_logger.c xml.c plain_logger.c logger.c
logger_CLAGS = -W -Wall -Wextra -g `sdl-config --cflags` -DSDL_NO_COMPAT
logger_LDFLAGS = `sdl-config --libs`
install: install-tests
install-tests:
-mkdir tests
-cp -f testdummy/.libs/*.dylib tests/ 2> /dev/null
-cp -f testdummy/.libs/*.so tests/ 2> /dev/null
-cp -f testrect/.libs/*.dylib tests/ 2> /dev/null
-cp -f testrect/.libs/*.so tests/ 2> /dev/null
-cp -f testplatform/.libs/*.dylib tests/ 2> /dev/null
-cp -f testplatform/.libs/*.so tests/ 2> /dev/null
distclean-local:
-rm -Rf tests/ docs/