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