diff options
Diffstat (limited to 'lib/csu/arm/Makefile')
-rw-r--r-- | lib/csu/arm/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/csu/arm/Makefile b/lib/csu/arm/Makefile new file mode 100644 index 0000000..23954e8 --- /dev/null +++ b/lib/csu/arm/Makefile @@ -0,0 +1,23 @@ +# $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} + +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> |