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