Lint target

This commit is contained in:
dcp1990 2005-06-18 20:26:14 +00:00
parent e21cf6c543
commit cec1bc7444

View File

@ -1,6 +1,6 @@
# cnd Makefile
# (C)2005, Dan Ponte
# $Amigan: phoned/phoned/modems/Makefile,v 1.1 2005/06/18 03:10:56 dcp1990 Exp $
# $Amigan: phoned/phoned/modems/Makefile,v 1.2 2005/06/18 20:26:14 dcp1990 Exp $
include ../../global.mk
# basic stuff. we append for a reason.
CPPFLAGS+=-I../../include
@ -20,6 +20,8 @@ ${MAINBIN}: ${OBJS}
# for this app
%.o: %.c
${CC} ${CFLAGS} -c ${.SOURCE}
lint:
lint ${CPPFLAGS} -pces ${SRCS}
# end ours
clean:
rm -f *.o ${MAINBIN} .depend *~ *.core ${CLEANFILES}