NetBSD/lib/csu/alpha/Makefile

26 lines
516 B
Makefile

# $NetBSD: Makefile,v 1.3 1995/12/20 12:36:56 cgd Exp $
CFLAGS+= -DLIBC_SCCS
OBJS= crt0.o gcrt0.o
CLEANFILES+= core a.out
all: ${OBJS}
crt0.o: crt0.s
${CPP} -DCRT0 ${CFLAGS:M-[ID]*} ${.ALLSRC} | ${AS} -o $@
@${LD} -x -r ${.TARGET}
@mv a.out ${.TARGET}
gcrt0.o: crt0.s
${CPP} -DMCRT0 ${CFLAGS:M-[ID]*} ${.ALLSRC} | ${AS} -o $@
@${LD} -x -r ${.TARGET}
@mv a.out ${.TARGET}
install:
install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
${DESTDIR}/usr/lib
depend lint tags:
.include <bsd.prog.mk>