Recipe 554 B

123456789101112131415161718192021222324252627
  1. <recipe>
  2. <script src="C">
  3. define("OUTPUT", "makeshot");
  4. </script>
  5. <rule name="debug">
  6. flags("-ggdb -Wall");
  7. </rule>
  8. <rule name="release">
  9. flags("-Os -w");
  10. </rule>
  11. <rule name="rebuild" requires="clear" then="build"/>
  12. <rule name="build" then="link">
  13. sources("makeshot.c");
  14. pkg_config("cairo", "pangocairo");
  15. </rule>
  16. <rule name="link" onentry="link()" requires="compile"/>
  17. <rule name="compile" onentry="compile()"/>
  18. <rule name="clear">
  19. `rm -rf *.o $_OUT`;
  20. </rule>
  21. </recipe>