NetBSD/sys/arch/news68k/stand/Makefile.inc

24 lines
457 B
PHP
Raw Normal View History

2006-06-29 04:30:32 +04:00
# $NetBSD: Makefile.inc,v 1.7 2006/06/29 00:30:32 lukem Exp $
1999-12-09 17:53:00 +03:00
BINDIR= /usr/mdec
CFLAGS+= -ffreestanding
# if there is a 'version' file, add rule for vers.c and add it to SRCS
# and CLEANFILES
.if exists(version)
.PHONY: vers.c
vers.c: version
2006-06-29 04:30:32 +04:00
${_MKTARGET_CREATE}
${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version ${MACHINE}
SRCS+= vers.c
CLEANFILES+= vers.c
.endif
# XXX SHOULD NOT NEED TO DEFINE THESE!
LIBCRT0=
LIBC=
LIBCRTBEGIN=
LIBCRTEND=