aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/xlint/lint1/Makefile
blob: 6792ba085f6d4b5a12ee18b7d21785b8233f7454 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#	$NetBSD: Makefile,v 1.3 1995/07/04 01:53:05 cgd Exp $
# $FreeBSD$

PROG=	lint1
SRCS=	cgram.y scan.l mem1.c mem.c err.c main1.c decl.c tree.c func.c \
	init.c emit.c emit1.c inittyp.c
MAN=	lint.7
CLEANFILES= lint.7

LIBADD=	l m
CFLAGS+= -I. -I${.CURDIR}
LINTFLAGS=-aehpz

BINDIR=	${LIBEXECDIR}

.PATH: ${.CURDIR}/../common

lint.7: makeman
	sh ${.CURDIR}/makeman ${DESTDIR}${BINDIR}/${PROG} -m >${.TARGET}

.include <bsd.prog.mk>