Nicer line count

git-svn-id: http://picoc.googlecode.com/svn/trunk@457 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
zik.saleeba 2010-07-03 21:17:51 +00:00
parent ca35f78874
commit d51b1d9726

View file

@ -23,7 +23,11 @@ clean:
rm -f $(TARGET) $(OBJS) *~
count:
cat picoc.h picoc.c table.c lex.c parse.c expression.c platform.c heap.c type.c variable.c | grep -v '^[ ]*/\*' | grep -v '^[ ]*$$' | wc
@echo "Core:"
@cat picoc.h picoc.c table.c lex.c parse.c expression.c platform.c heap.c type.c variable.c include.c | grep -v '^[ ]*/\*' | grep -v '^[ ]*$$' | wc
@echo ""
@echo "Everything:"
@cat $(SRCS) *.h */*.h | wc
depend:
$(CC) -MM $(SRCS) >.depend