mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-29 12:03:03 +00:00
20 lines
389 B
Makefile
20 lines
389 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../common
|
|
|
|
SRCS= crt1.c crti.S crtn.S
|
|
FILES= ${SRCS:N*.h:R:S/$/.o/g} gcrt1.o
|
|
FILESOWN= ${LIBOWN}
|
|
FILESGRP= ${LIBGRP}
|
|
FILESMODE= ${LIBMODE}
|
|
FILESDIR= ${LIBDIR}
|
|
WARNS?= 6
|
|
CFLAGS+= -I${.CURDIR}/../common \
|
|
-I${.CURDIR}/../../libc/include
|
|
CLEANFILES= ${FILES}
|
|
|
|
gcrt1.o: crt1.c
|
|
${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.CURDIR}/crt1.c
|
|
|
|
.include <bsd.prog.mk>
|