Makefile revision 1.11
1# $NetBSD: Makefile,v 1.11 2006/01/26 22:39:08 he Exp $ 2 3PROG= bootelf 4SRCS= alloc.c boot.c byteorder.c loadfile.c loadfile_elf32.c 5NOMAN= # defined 6 7LIBSA= ${.CURDIR}/../../../../lib/libsa 8 9.PATH: ${LIBSA} 10 11CFLAGS+= -D_STANDALONE -ffreestanding 12CPPFLAGS+= -I${LIBSA} -I${.OBJDIR} 13LDSTATIC= -static 14 15CLEANFILES+= machine 16 17realdepend realall: machine 18 19machine:: 20 -rm -f $@ 21 ln -s ${.CURDIR}/../../../../arch/${MACHINE}/include $@ 22 23${PROG}: ${OBJS} machine 24 25.include <bsd.prog.mk> 26