New build infrastructure to generate FLAG_ macros and TT alias, #define FOR_commandname before #including toys.h to trigger it. Rename DEFINE_GLOBALS() to just GLOBALS() (because I could never remember if it was DECLARE_GLOBALS). Convert existing commands to use new infrastructure, and replace optflag constants with FLAG_ macros where appropriate.
diff --git a/toys.h b/toys.h
index 0338077..6963ae7 100644
--- a/toys.h
+++ b/toys.h
@@ -107,6 +107,6 @@
 
 extern char toybuf[4096];
 
-#define DEFINE_GLOBALS(...)
+#define GLOBALS(...)
 
 #define ARRAY_LEN(array) (sizeof(array)/sizeof(*array))