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