xref: /netbsd-src/sys/arch/x68k/stand/Makefile.booters (revision 69b6d498973bb4d7230c2d3c12bd9a032738ec8e)
1#	$NetBSD: Makefile.booters,v 1.3 2003/10/30 22:20:43 he Exp $
2
3S?=	${.CURDIR}/../../../..
4
5.PHONY:	machine-links
6
7CFLAGS+= -ffreestanding
8
9machine-links:
10	-rm -f machine && \
11	ln -s $S/arch/${MACHINE}/include machine
12	-rm -f ${MACHINE_ARCH} && \
13	ln -s $S/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH}
14
15CLEANFILES+=	machine ${MACHINE_ARCH}
16
17beforedepend:	machine-links
18
19# XXX SHOULD NOT NEED TO DEFINE THESE!
20LIBCRT0=
21LIBC=
22LIBCRTBEGIN=
23LIBCRTEND=
24