From 8b58052cb6ec2816e76f8490174da059d4536207 Mon Sep 17 00:00:00 2001 From: dcp1990 Date: Sat, 18 Jun 2005 20:18:56 +0000 Subject: [PATCH] Add lint target --- main.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.mk b/main.mk index 4a36fec..762a78d 100644 --- a/main.mk +++ b/main.mk @@ -1,4 +1,4 @@ -# $Amigan: phoned/main.mk,v 1.3 2005/06/18 03:10:32 dcp1990 Exp $ +# $Amigan: phoned/main.mk,v 1.4 2005/06/18 20:18:56 dcp1990 Exp $ all: .depend ${MAINBIN} # I know, I know, but it's good. .depend: ${SRCS} ${OHDRS} @@ -8,6 +8,8 @@ ${MAINBIN}: ${OBJS} # for this app %.o: %.c ${CC} ${CFLAGS} -c ${.SOURCE} +lint: + lint ${CPPFLAGS} -s ${SRCS} # end ours clean: ourclean rm -f *.o ${MAINBIN} .depend *~ *.core ${CLEANFILES}