Add Makefile target (check-nolink) to compile all source without linking
authorIvan Maidanski <ivmai@mail.ru>
Sat, 18 Feb 2017 06:21:58 +0000 (09:21 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 18 Feb 2017 06:21:58 +0000 (09:21 +0300)
commit3b7e732d7206076a96c15396252bad56cd0cda0f
treed98ff52fcca03cd33fd7adc6b6e929b13f83621d
parent90bdd4f4fa123affdd1ef6cd472d3ee7c1d330f0
Add Makefile target (check-nolink) to compile all source without linking

Note: it is assumed --enable-shared is not passed to configure.

* Makefile.am (check-nolink-local): New Makefile phony target (just
redirects to "all").
* configure.ac: Define check-nolink by AM_EXTRA_RECURSIVE_TARGETS.
* tests/Makefile.am (TEST_OBJS): New variable (with a list of the test
.o files).
* tests/Makefile.am (check-nolink-local): New Makefile phony target
(forces all tests to be compiled but not linked).
Makefile.am
configure.ac
tests/Makefile.am