freebsd-nq/usr.bin/xlint/Makefile.inc
Ruslan Ermilov bd42830f0f Make lint(1) a cross-tool.
(See commit log for usr.bin/xlint/Makefile,v 1.11 for what was wrong
with enabling build of lint libraries in rev. 1.12.)

This fixes cross-arch compiles (running binaries for a different arch
when generating lint.7 and lint libraries) and cross-branch compiles
(4.x -> 5.0 buildworld should be working again).
2002-03-20 18:25:50 +00:00

14 lines
264 B
Makefile

# $NetBSD: Makefile.inc,v 1.8 2002/02/04 00:18:32 thorpej Exp $
# $FreeBSD$
WARNS= 0
.include <bsd.own.mk>
.PATH: ${.CURDIR}/../common
TARGET_ARCH?= ${MACHINE_ARCH}
CFLAGS+= -I${.CURDIR}/../arch/${TARGET_ARCH}
CFLAGS+= -I${.CURDIR}/../common
OBJECT_FMT= ELF