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