bake/config.h

62 lines
1.5 KiB
C

/* Require space after START */
#define REQUIRE_SPACE
/* colorize output */
#define ENABLE_COLOR 1
/* preferred, @FILENAME @SHORT @ARGS */
#define NEW_MACROS 1
/* $@ $* $+ */
#define OLD_MACROS 1
/* Disables the possibility of remove(1) ever being ran */
#define ENABLE_EXPUNGE_REMOVE 0
/* ./bake bake will compile bake.c, basically just proves that binary files
* really are supported, the bake.c file must exist next to the executable for
* this work correctly. Not meant as a serious feature, DO NOT enable this by
* default or in user builds.
*/
#define INCLUDE_AUTONOMOUS_COMPILE 0
#if ENABLE_COLOR == 1
# define RED "\033[91m"
# define GREEN "\033[92m"
# define YELLOW "\033[93m"
# define DIM "\033[2m"
# define BOLD "\033[1m"
# define RESET "\033[0m"
#elif ENABLE_COLOR
# define RED "\033[91;5m"
# define GREEN "\033[96;7m"
# define YELLOW "\033[94m"
# define DIM "\033[7m"
# define BOLD "\033[1;4m"
# define RESET "\033[0m"
#else
# define RED
# define GREEN
# define YELLOW
# define DIM
# define BOLD
# define RESET
#endif
/* It's best if you don't change these */
/* sed -i 's/@COMPILECMD/@BAKE/g' <<<YOUR FILES...>>> */
#define I_USE_LEGACY_CODE_AND_REFUSE_TO_UPGRADE 0
#if I_USE_LEGACY_CODE_AND_REFUSE_TO_UPGRADE
# define START "@COMPILECMD"
# warning | use sed -i 's/@COMPILECMD/@BAKE/g' <YOUR LEGACY FILES...> instead
#endif /* I_USE_LEGACY_CODE_AND_REFUSE_TO_UPGRADE */
#undef START
#define START "@BAKE"
#define STOP "@STOP"
#define EXPUNGE_START "@{"
#define EXPUNGE_STOP "}"