xref: /freebsd/usr.bin/gcore/Makefile (revision ebacd8013fe5f7fdf9f6a5b286f6680dd2891036)
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