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