NetBSD-5.0.2/sys/arch/x68k/stand/Makefile.booters

#	$NetBSD: Makefile.booters,v 1.4 2005/12/11 12:19:44 christos Exp $

S?=	${.CURDIR}/../../../..

.PHONY:	machine-links

CFLAGS+= -ffreestanding

machine-links:
	-rm -f machine && \
	ln -s $S/arch/${MACHINE}/include machine
	-rm -f ${MACHINE_ARCH} && \
	ln -s $S/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH}

CLEANFILES+=	machine ${MACHINE_ARCH}

beforedepend:	machine-links

# XXX SHOULD NOT NEED TO DEFINE THESE!
LIBCRT0=
LIBC=
LIBCRTBEGIN=
LIBCRTEND=