PageRenderTime 24ms CodeModel.GetById 16ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/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 Lø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
22ifeq ($(PROCESSORS),)
23PROCESSORS=1
24endif
25
26all:
27	gnatmake -j${PROCESSORS} -P yolk_demo
28
29debug:
30	BUILDTYPE=Debug gnatmake -j${PROCESSORS} -P yolk_demo
31
32clean:
33	gnatclean -P yolk_demo
34	BUILDTYPE=Debug gnatclean -P yolk_demo