]> Shamusworld >> Repos - stargem2/blobdiff - Makefile
Finally fixed problems with demo mode.
[stargem2] / Makefile
old mode 100755 (executable)
new mode 100644 (file)
index a7e1ea3..0f029a2
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,8 @@
 # This software is licensed under the GPL v3 or later
 #
 
+FIND = find
+
 ifeq "$(OSTYPE)" "msys"                                                        # Win32
 
 SYSTYPE    = __GCCWIN32__
@@ -56,6 +58,7 @@ OBJS = \
        obj/log.o           \
        obj/v6808.o         \
        obj/v6809.o         \
+       obj/v6821.o         \
        obj/video.o         \
        obj/settings.o      \
        obj/sound.o         \
@@ -122,8 +125,13 @@ $(TARGET)$(EXESUFFIX): $(OBJS)
 #      strip --strip-all $(TARGET)$(EXESUFFIX)
 #      upx -9 $(TARGET)$(EXESUFFIX)
 
+statistics:
+       @echo -n "Lines in source files: "
+       @-$(FIND) ./src -name "*.cpp" | xargs cat | wc -l
+       @echo -n "Lines in header files: "
+       @-$(FIND) ./src -name "*.h" | xargs cat | wc -l
+
 # Pull in dependencies autogenerated by gcc's -MMD switch
 # The "-" in front in there just in case they haven't been created yet
 
 -include obj/*.d
-