/demo/makefile

http://github.com/ThomasLocke/yolk · Makefile · 34 lines · 10 code · 4 blank · 20 comment · 0 complexity · 0d750f0f8263bf4e13659e96f3f128d1 MD5 · raw file

  1. ###############################################################################
  2. # #
  3. # Yolk #
  4. # #
  5. # Make File #
  6. # #
  7. # Copyright (C) 2010-2012, Thomas ¸cke #
  8. # #
  9. # This is free software; you can redistribute it and/or modify it #
  10. # under terms of the GNU General Public License as published by the #
  11. # Free Software Foundation; either version 3, or (at your option) any #
  12. # later version. This software is distributed in the hope that it will #
  13. # be useful, but WITHOUT ANY WARRANTY; without even the implied warranty #
  14. # of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
  15. # General Public License for more details. #
  16. # You should have received a copy of the GNU General Public License #
  17. # distributed with this software; see file COPYING3. If not, go #
  18. # to http://www.gnu.org/licenses for a complete copy of the license. #
  19. # #
  20. ###############################################################################
  21. ifeq ($(PROCESSORS),)
  22. PROCESSORS=1
  23. endif
  24. all:
  25. gnatmake -j${PROCESSORS} -P yolk_demo
  26. debug:
  27. BUILDTYPE=Debug gnatmake -j${PROCESSORS} -P yolk_demo
  28. clean:
  29. gnatclean -P yolk_demo
  30. BUILDTYPE=Debug gnatclean -P yolk_demo