a2498bfff8
functions in gcc.
24 lines
448 B
Makefile
24 lines
448 B
Makefile
# $NetBSD: Makefile.booters,v 1.3 2003/10/30 22:20:43 he 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=
|