xref: /trunk/main/io/prj/makefile.mk (revision f90c092a)
1*f90c092aSdamjan#**************************************************************
2*f90c092aSdamjan#
3*f90c092aSdamjan#  Licensed to the Apache Software Foundation (ASF) under one
4*f90c092aSdamjan#  or more contributor license agreements.  See the NOTICE file
5*f90c092aSdamjan#  distributed with this work for additional information
6*f90c092aSdamjan#  regarding copyright ownership.  The ASF licenses this file
7*f90c092aSdamjan#  to you under the Apache License, Version 2.0 (the
8*f90c092aSdamjan#  "License"); you may not use this file except in compliance
9*f90c092aSdamjan#  with the License.  You may obtain a copy of the License at
10*f90c092aSdamjan#
11*f90c092aSdamjan#    http://www.apache.org/licenses/LICENSE-2.0
12*f90c092aSdamjan#
13*f90c092aSdamjan#  Unless required by applicable law or agreed to in writing,
14*f90c092aSdamjan#  software distributed under the License is distributed on an
15*f90c092aSdamjan#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*f90c092aSdamjan#  KIND, either express or implied.  See the License for the
17*f90c092aSdamjan#  specific language governing permissions and limitations
18*f90c092aSdamjan#  under the License.
19*f90c092aSdamjan#
20*f90c092aSdamjan#**************************************************************
21*f90c092aSdamjan
22*f90c092aSdamjan
23*f90c092aSdamjan
24*f90c092aSdamjanPRJ=..
25*f90c092aSdamjanTARGET=prj
26*f90c092aSdamjan
27*f90c092aSdamjan.INCLUDE : settings.mk
28*f90c092aSdamjan
29*f90c092aSdamjan.IF "$(VERBOSE)"!=""
30*f90c092aSdamjanVERBOSEFLAG :=
31*f90c092aSdamjan.ELSE
32*f90c092aSdamjanVERBOSEFLAG := -s
33*f90c092aSdamjan.ENDIF
34*f90c092aSdamjan
35*f90c092aSdamjan.IF "$(DEBUG)"!=""
36*f90c092aSdamjanDEBUG_ARGUMENT=DEBUG=$(DEBUG)
37*f90c092aSdamjan.ELIF "$(debug)"!=""
38*f90c092aSdamjanDEBUG_ARGUMENT=debug=$(debug)
39*f90c092aSdamjan.ELSE
40*f90c092aSdamjanDEBUG_ARGUMENT=
41*f90c092aSdamjan.ENDIF
42*f90c092aSdamjan
43*f90c092aSdamjanall:
44*f90c092aSdamjan	cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) $(DEBUG_ARGUMENT) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog
45