tags: ${SRCS}
ctags $^
+.PHONY: tar
tar:
${Q1}echo "tar: physics.tar.bz2"
${Q2}rm -f physics.tar # prevents appending
tar -C ../.. -rf physics.tar "physics/src/$$f"; done
${Q2}bzip2 physics.tar
+.PHONY: git-tar
git-tar:
${Q1}echo "git-archive: ../physics.tar.bz2"
${Q2}cd ..; git-archive --prefix=physics/ HEAD | bzip2 > physics.tar.bz2
// comment out when not debugging
#define DEBUGGING
+// comment out to prevent FPS and UPS printing
+#define FPSUPS
+
#include <iostream>
using std::cerr;
using std::cout;
last_Second = tickCountMicro();
- //cout << "ups:\t" << ups << endl;
- //cout << "fps:\t" << fps << endl;
+#ifdef FPSUPS
+ cout << "ups:\t" << ups << endl;
+ cout << "fps:\t" << fps << endl;
+#endif
}
}