freebsd-skq/lib/csu/Makefile
Marcel Moolenaar e9d8fda02c Add a makefle that recurses into the right architecture-specific
sub-directory. This to allow simpler logic outside of the csu
directory.

Obtained from:	Juniper Networks, Inc.
2013-05-21 17:47:53 +00:00

11 lines
167 B
Makefile

# $FreeBSD$
ARCH= ${MACHINE_ARCH:S/i386/i386-elf/}
.if exists(${.CURDIR}/${ARCH})
SUBDIR+= ${ARCH}
.else
SUBDIR+= ${MACHINE_CPUARCH}
.endif
.include <bsd.subdir.mk>