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