# This software is licensed under the GPL v3 or later
#
+FIND = find
+
ifeq "$(OSTYPE)" "msys" # Win32
SYSTYPE = __GCCWIN32__
obj/log.o \
obj/v6808.o \
obj/v6809.o \
+ obj/v6821.o \
obj/video.o \
obj/settings.o \
obj/sound.o \
# 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
-