Makefile revision 96411
1# $FreeBSD: head/lib/csu/amd64/Makefile 96411 2002-05-11 17:45:03Z obrien $ 2 3.PATH: ${.CURDIR}/../common 4 5SRCS= crt1.c crti.S crtn.S 6OBJS= ${SRCS:N*.h:R:S/$/.o/g} 7OBJS+= gcrt1.o 8CFLAGS+= -elf -Wall \ 9 -I${.CURDIR}/../common \ 10 -I${.CURDIR}/../../libc/include 11LDFLAGS+= -elf 12NOLIB= true 13 14 15all: ${OBJS} ${SOBJS} 16 17gcrt1.o: crt1.c 18 ${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.CURDIR}/crt1.c 19 20realinstall: 21.for file in ${OBJS} ${SOBJS} 22 ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 23 ${file} ${DESTDIR}${LIBDIR}/${file:S/.So$/S.o/} 24.endfor 25 26.include <bsd.lib.mk> 27