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