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