7893b524b9
pessimising the `install'.
22 lines
419 B
Makefile
22 lines
419 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../common
|
|
|
|
SRCS= crt1.c crti.S crtn.S
|
|
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
|
|
OBJS+= gcrt1.o
|
|
CFLAGS+= -Wall -Wno-unused \
|
|
-I${.CURDIR}/../common \
|
|
-I${.CURDIR}/../../libc/include
|
|
|
|
all: ${OBJS}
|
|
|
|
gcrt1.o: crt1.c
|
|
${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.ALLSRC}
|
|
|
|
realinstall:
|
|
${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
|
|
${OBJS} ${DESTDIR}${LIBDIR}
|
|
|
|
.include <bsd.lib.mk>
|