putcopyright:
'put(c)' -s $(STARTYEAR) *.cc *.h *.y *.l
+start:
+ date '+%Y.%m.%d-%H:%M' >.start
+
+newer: distclean
+ @if [ -f .start ]; then \
+ tar cvf - \
+ `find . -newer .start -type f -print` |\
+ gzip -9c >ucsim-newer-`cat .start`_`date '+%Y.%m.%d-%H:%M'`_`hostname`.tgz; \
+ else \
+ echo ".start file not found.\n"; \
+ exit 1; \
+ fi
+
+print-newer:
+ @if [ -f .start ]; then \
+ find . -newer .start -type f -print ;\
+ else \
+ echo ".start file not found.\n" ;\
+ exit 1 ;\
+ fi
+
+lines:
+ @find . \( -name '*.[ch]' -o -name '*.cc' -o -name '*.hh' \) \
+ -exec cat {} \; | clines
+
# Remaking configuration
# ----------------------