Makefile.inc revision 1.9
1# $NetBSD: Makefile.inc,v 1.9 2011/01/22 19:19:20 joerg Exp $ 2 3BINDIR= /usr/mdec 4 5CFLAGS+= -ffreestanding 6 7# if there is a 'version' file, add rule for vers.c and add it to SRCS 8# and CLEANFILES 9.if exists(version) 10.PHONY: vers.c 11vers.c: version 12 ${_MKTARGET_CREATE} 13 ${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version ${MACHINE} 14 15SRCS+= vers.c 16CLEANFILES+= vers.c 17.endif 18 19# XXX SHOULD NOT NEED TO DEFINE THESE! 20LIBCRT0= 21LIBC= 22LIBCRTBEGIN= 23LIBCRTEND= 24