17 lines
371 B
Makefile
17 lines
371 B
Makefile
# $FreeBSD$
|
|
|
|
.include "${.CURDIR}/../Makefile.inc0"
|
|
|
|
PROG= as
|
|
.if ${TARGET_ARCH} != "powerpc"
|
|
NOMAN= 1
|
|
BINDIR= /usr/libexec/cross/powerpc-freebsd
|
|
# If we aren't doing cross-assembling, some operations can be optimized, since
|
|
# byte orders and value sizes don't need to be adjusted.
|
|
CFLAGS+= -DCROSS_COMPILE=1
|
|
.endif
|
|
SRCS+= obj-elf.c tc-ppc.c
|
|
|
|
|
|
.include <bsd.prog.mk>
|