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