1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/usr.sbin/crunch/crunchide/Makefile
Ruslan Ermilov 64b06e7897 Make crunchide(1) a cross-tool; needed for cross-arch "make release".
Note that a.out is only supported for the non-cross i386 case.
2002-04-30 09:34:53 +00:00

13 lines
240 B
Makefile

# $FreeBSD$
PROG= crunchide
SRCS= crunchide.c exec_elf32.c exec_elf64.c
TARGET_ARCH?= ${MACHINE_ARCH}
.if ${TARGET_ARCH} == i386 && ${MACHINE_ARCH} == i386
SRCS+= exec_aout.c
.endif
CFLAGS+=-Darch_${TARGET_ARCH}
.include <bsd.prog.mk>