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