2024-01-19 16:04:32 -05:00
|
|
|
/* Require space after START */
|
|
|
|
#define REQUIRE_SPACE
|
|
|
|
|
2024-03-02 02:06:21 -05:00
|
|
|
/* colorize output */
|
|
|
|
#define ENABLE_COLOR 1
|
2024-01-19 16:04:32 -05:00
|
|
|
|
2024-03-02 02:06:21 -05:00
|
|
|
/* preferred, @FILENAME @SHORT @ARGS */
|
|
|
|
#define NEW_MACROS 1
|
2024-04-08 20:19:15 -04:00
|
|
|
|
2024-03-02 02:06:21 -05:00
|
|
|
/* $@ $* $+ */
|
|
|
|
#define OLD_MACROS 1
|
|
|
|
|
2024-04-08 20:19:15 -04:00
|
|
|
/* 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.
|
|
|
|
*/
|
2024-03-02 02:06:21 -05:00
|
|
|
#define INCLUDE_AUTONOMOUS_COMPILE 0
|
|
|
|
|
|
|
|
#if ENABLE_COLOR == 1
|
2024-02-26 18:34:36 -05:00
|
|
|
# define RED "\033[91m"
|
|
|
|
# define GREEN "\033[92m"
|
|
|
|
# define YELLOW "\033[93m"
|
|
|
|
# define DIM "\033[2m"
|
|
|
|
# define BOLD "\033[1m"
|
|
|
|
# define RESET "\033[0m"
|
2024-03-02 02:06:21 -05:00
|
|
|
#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"
|
2024-01-19 16:04:32 -05:00
|
|
|
#else
|
|
|
|
# define RED
|
|
|
|
# define GREEN
|
|
|
|
# define YELLOW
|
|
|
|
# define DIM
|
|
|
|
# define BOLD
|
|
|
|
# define RESET
|
|
|
|
#endif
|
2024-04-08 20:19:15 -04:00
|
|
|
|
|
|
|
/* 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 "}"
|