freebsd-dev/lib/csu/tests/Makefile.tests
Andrew Turner 8522d140a5 Build the csu tests on all architectures.
The tests haven't been run them, but this is enough to build them so I can
get feedback on if the various crt.h headers are correct.

MFC with:	r339738
Sponsored by:	DARPA, AFRL
2018-10-30 14:44:12 +00:00

14 lines
250 B
Makefile

# $FreeBSD$
ATF_TESTS_C+= init_test
ATF_TESTS_C+= fini_test
ATF_TESTS_CXX+= cxx_constructors
WARNS?= 3
.if exists(${.CURDIR:H:H}/${MACHINE_ARCH})
CFLAGS+= -I${.CURDIR:H:H}/${MACHINE_ARCH}
.else
CFLAGS+= -I${.CURDIR:H:H}/${MACHINE_CPUARCH}
.endif