Nicer line count
git-svn-id: http://picoc.googlecode.com/svn/trunk@457 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
parent
ca35f78874
commit
d51b1d9726
6
Makefile
6
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue