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