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