xref: /freebsd/usr.bin/gcore/Makefile (revision c30797873f663df5fc45ba0db943393f611bd24e)
1#	@(#)Makefile	8.1 (Berkeley) 6/6/93
2# $FreeBSD$
3
4PROG=	gcore
5SRCS=	elfcore.c gcore.c
6LIBADD=	sbuf util
7
8.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" || \
9    ${MACHINE_ARCH} == "powerpc64"
10SRCS+=	elf32core.c
11.endif
12
13WARNS?=	1
14
15.include <bsd.prog.mk>
16