1 1.9 christos # $NetBSD: Makefile,v 1.9 2000/07/06 01:11:23 christos Exp $ 2 1.1 cgd 3 1.1 cgd PROG= lint1 4 1.6 tv SRCS= cgram.y scan.l mem1.c mem.c err.c main1.c decl.c tree.c func.c \ 5 1.1 cgd init.c emit.c emit1.c 6 1.9 christos MAN= lint.7 7 1.1 cgd LDADD+= -ll 8 1.1 cgd DPADD+= ${LIBL} 9 1.6 tv YHEADER=1 10 1.8 matt CPPFLAGS+=-I${.CURDIR} -I. 11 1.1 cgd LINTFLAGS=-aehpz 12 1.1 cgd 13 1.1 cgd BINDIR= /usr/libexec 14 1.6 tv 15 1.6 tv scan.c: cgram.h 16 1.9 christos 17 1.9 christos lint.7: ${.OBJDIR}/${PROG} 18 1.9 christos sh ${.CURDIR}/makeman ${.OBJDIR}/${PROG} -m > ${.TARGET} 19 1.1 cgd 20 1.1 cgd .include <bsd.prog.mk> 21