xref: /freebsd/usr.bin/gcore/Makefile (revision 8ddb146abcdf061be9f2c0db7e391697dafad85c)
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_CPUARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" || \
9    ${MACHINE_ARCH} == "powerpc64"
10SRCS+=	elf32core.c
11.endif
12
13WARNS?=	1
14
15.include <bsd.prog.mk>
16