csu: move crt files to /usr/lib
[dragonfly.git] / lib / csu / i386 / Makefile.csu
CommitLineData
fd8b66cd
SS
1# $FreeBSD: src/lib/csu/i386-elf/Makefile,v 1.6.2.5 2002/11/23 17:44:29 ru Exp $
2# $DragonFly: src/lib/csu/i386/Makefile.csu,v 1.1 2007/01/15 18:01:44 corecode Exp $
3
fd8b66cd
SS
4SRCS+= crt1.c crti.S crtn.S
5OBJS+= gcrt1.o
6INSTALLOBJS+= crt1.o crti.o crtn.o gcrt1.o
7
8CFLAGS+= -elf -Wall -fkeep-inline-functions \
9 -I${CSUDIR}/../common
10LDFLAGS+= -elf
11
12.PATH: ${CSUDIR} ${CSUDIR}/../common
13
14gcrt1.o: crt1.c
15 ${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${CSUDIR}/crt1.c