Ever burned a cake?
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.5KB

  1. /* Require space after START */
  2. #define REQUIRE_SPACE
  3. /* colorize output */
  4. #define ENABLE_COLOR 1
  5. /* preferred, @FILENAME @SHORT @ARGS */
  6. #define NEW_MACROS 1
  7. /* $@ $* $+ */
  8. #define OLD_MACROS 1
  9. /* Disables the possibility of remove(1) ever being ran */
  10. #define ENABLE_EXPUNGE_REMOVE 0
  11. /* ./bake bake will compile bake.c, basically just proves that binary files
  12. * really are supported, the bake.c file must exist next to the executable for
  13. * this work correctly. Not meant as a serious feature, DO NOT enable this by
  14. * default or in user builds.
  15. */
  16. #define INCLUDE_AUTONOMOUS_COMPILE 0
  17. #if ENABLE_COLOR == 1
  18. # define RED "\033[91m"
  19. # define GREEN "\033[92m"
  20. # define YELLOW "\033[93m"
  21. # define DIM "\033[2m"
  22. # define BOLD "\033[1m"
  23. # define RESET "\033[0m"
  24. #elif ENABLE_COLOR
  25. # define RED "\033[91;5m"
  26. # define GREEN "\033[96;7m"
  27. # define YELLOW "\033[94m"
  28. # define DIM "\033[7m"
  29. # define BOLD "\033[1;4m"
  30. # define RESET "\033[0m"
  31. #else
  32. # define RED
  33. # define GREEN
  34. # define YELLOW
  35. # define DIM
  36. # define BOLD
  37. # define RESET
  38. #endif
  39. /* It's best if you don't change these */
  40. /* sed -i 's/@COMPILECMD/@BAKE/g' <<<YOUR FILES...>>> */
  41. #define I_USE_LEGACY_CODE_AND_REFUSE_TO_UPGRADE 0
  42. #if I_USE_LEGACY_CODE_AND_REFUSE_TO_UPGRADE
  43. # define START "@COMPILECMD"
  44. # warning | use sed -i 's/@COMPILECMD/@BAKE/g' <YOUR LEGACY FILES...> instead
  45. #endif /* I_USE_LEGACY_CODE_AND_REFUSE_TO_UPGRADE */
  46. #undef START
  47. #define START "@BAKE"
  48. #define STOP "@STOP"
  49. #define EXPUNGE_START "@{"
  50. #define EXPUNGE_STOP "}"