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 # cnd Makefile
# (C)2005, Dan Ponte # (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 include ../../global.mk
# basic stuff. we append for a reason. # basic stuff. we append for a reason.
CPPFLAGS+=-I../../include CPPFLAGS+=-I../../include
@ -20,6 +20,8 @@ ${MAINBIN}: ${OBJS}
# for this app # for this app
%.o: %.c %.o: %.c
${CC} ${CFLAGS} -c ${.SOURCE} ${CC} ${CFLAGS} -c ${.SOURCE}
lint:
lint ${CPPFLAGS} -pces ${SRCS}
# end ours # end ours
clean: clean:
rm -f *.o ${MAINBIN} .depend *~ *.core ${CLEANFILES} rm -f *.o ${MAINBIN} .depend *~ *.core ${CLEANFILES}