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