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