C++: add Makefile stats targets.
authorJoel Martin <github@martintribe.org>
Sat, 28 Mar 2015 16:53:30 +0000 (11:53 -0500)
committerJoel Martin <github@martintribe.org>
Sat, 28 Mar 2015 16:53:30 +0000 (11:53 -0500)
cpp/Makefile

index 09040ce..997a6e9 100644 (file)
@@ -47,3 +47,14 @@ clean:
        rm -rf *.o $(TARGETS) libmal.a .deps
 
 -include .deps
+
+
+### Stats
+
+.PHONY: stats stats-lisp
+
+stats: $(LIBSOURCES) stepA_mal.cpp
+       @wc $^
+
+stats-lisp: Core.cpp Environment.cpp stepA_mal.cpp
+       @wc $^