Sync usage with man page.
[netbsd-mini2440.git] / external / bsd / pcc / lib / crtstuff / Makefile
blob487f2d8a63a20abb8aa84b2ee07ec0f403a6a4ae
1 # $NetBSD: Makefile.inc,v 1.29 2008/07/21 15:34:58 lukem Exp $
3 .include <bsd.own.mk>
5 DIST= ${NETBSDSRCDIR}/external/bsd/pcc/dist/pcc-libs
6 SUBDIST=${DIST}/csu/netbsd
7 .PATH: ${SUBDIST}
9 #CPPFLAGS+=-I${SUBDIST}
11 #.include "../../Makefile.inc"
13 SRCS+= crtbegin.c crtend.c
14 OBJS+= crtbegin.o crtend.o
16 realall: ${OBJS}
18 crtbegin.o: crtbegin.c
19 ${_MKTARGET_COMPILE}
20 ${COMPILE.c} ${.IMPSRC} -o ${.TARGET}.o
21 ${LD} -x -r -o ${.TARGET} ${.TARGET}.o
22 rm -f ${.TARGET}.o
24 crtend.o: crtend.c
25 ${_MKTARGET_COMPILE}
26 ${COMPILE.c} ${.IMPSRC} -o ${.TARGET}.o
27 ${LD} -x -r -o ${.TARGET} ${.TARGET}.o
28 rm -f ${.TARGET}.o
30 FILES=${OBJS}
31 FILESDIR=${LIBDIR}
32 CLEANFILES=${OBJS}
34 .include <bsd.prog.mk>