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