mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
d2893b161b
for a long time now. Approved by: bde
22 lines
412 B
Makefile
22 lines
412 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../common
|
|
SRCS= crt1.c crti.S crtn.S
|
|
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
|
|
OBJS+= gcrt1.o
|
|
WARNS?= 6
|
|
CFLAGS+= -I${.CURDIR}/../common -I${.CURDIR}/../../libc/include
|
|
|
|
all: ${OBJS}
|
|
|
|
CLEANFILES= ${OBJS}
|
|
|
|
gcrt1.o: crt1.c
|
|
${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.ALLSRC}
|
|
|
|
realinstall:
|
|
${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
|
|
${OBJS} ${DESTDIR}${LIBDIR}
|
|
|
|
.include <bsd.lib.mk>
|