2011-05-25 18:53:48 +03:00
|
|
|
ACLOCAL_AMFLAGS = -I acinclude -I build-scripts
|
|
|
|
|
2011-06-18 10:36:27 -07:00
|
|
|
SUBDIRS = testdummy testrect testplatform
|
2011-05-25 18:53:48 +03:00
|
|
|
|
|
|
|
bin_PROGRAMS = runner
|
2011-05-30 21:57:04 +03:00
|
|
|
runner_SOURCES = runner.c SDL_test.c
|
2011-05-25 18:53:48 +03:00
|
|
|
runner_CLAGS = -W -Wall -Wextra -g `sdl-config --cflags` -DSDL_NO_COMPAT
|
2011-06-04 17:50:23 +03:00
|
|
|
runner_LDFLAGS = `sdl-config --libs`
|
2011-05-25 18:53:48 +03:00
|
|
|
|
2011-06-21 19:31:46 +03:00
|
|
|
bin_PROGRAMS = logger
|
2011-06-21 22:04:44 +03:00
|
|
|
logger_SOURCES = xml_logger.c xml.c plain_logger.c logger.c
|
2011-06-21 19:31:46 +03:00
|
|
|
logger_CLAGS = -W -Wall -Wextra -g `sdl-config --cflags` -DSDL_NO_COMPAT
|
|
|
|
logger_LDFLAGS = `sdl-config --libs`
|
|
|
|
|
2011-05-25 18:53:48 +03:00
|
|
|
install: install-tests
|
|
|
|
install-tests:
|
2011-06-06 18:15:19 +03:00
|
|
|
-mkdir tests
|
|
|
|
-cp -f testdummy/.libs/*.dylib tests/ 2> /dev/null
|
|
|
|
-cp -f testdummy/.libs/*.so tests/ 2> /dev/null
|
2011-06-01 18:03:09 -07:00
|
|
|
-cp -f testrect/.libs/*.dylib tests/ 2> /dev/null
|
|
|
|
-cp -f testrect/.libs/*.so tests/ 2> /dev/null
|
2011-06-18 10:36:27 -07:00
|
|
|
-cp -f testplatform/.libs/*.dylib tests/ 2> /dev/null
|
|
|
|
-cp -f testplatform/.libs/*.so tests/ 2> /dev/null
|
2011-05-25 18:53:48 +03:00
|
|
|
|
2011-05-30 21:57:04 +03:00
|
|
|
distclean-local:
|
2011-06-06 18:15:19 +03:00
|
|
|
-rm -Rf tests/ docs/
|
2011-05-30 21:57:04 +03:00
|
|
|
|