csu: move crt files to /usr/lib
[dragonfly.git] / lib / csu / amd64 / Makefile.csu
CommitLineData
fd8b66cd 1# $FreeBSD: src/lib/csu/amd64/Makefile,v 1.18 2003/06/30 12:53:39 ru Exp $
b2179113 2# $DragonFly: src/lib/csu/amd64/Makefile.csu,v 1.2 2007/07/11 21:12:50 corecode Exp $
fd8b66cd 3
fd8b66cd
SS
4SRCS+= crt1.c crti.S crtn.S
5OBJS+= gcrt1.o
6INSTALLOBJS+= crt1.o crti.o crtn.o gcrt1.o
7
8CFLAGS+= -I${CSUDIR}/../common \
9 -I${CSUDIR}/../../libc/include
10
11.PATH: ${CSUDIR} ${CSUDIR}/../common
12
13gcrt1.o: crt1.c
b2179113 14 ${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${CSUDIR}/crt1.c