xref: /aoo42x/main/basctl/prj/makefile.mk (revision dd913a84)
143f49081SAndrew Rist#**************************************************************
243f49081SAndrew Rist#
343f49081SAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
443f49081SAndrew Rist#  or more contributor license agreements.  See the NOTICE file
543f49081SAndrew Rist#  distributed with this work for additional information
643f49081SAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
743f49081SAndrew Rist#  to you under the Apache License, Version 2.0 (the
843f49081SAndrew Rist#  "License"); you may not use this file except in compliance
943f49081SAndrew Rist#  with the License.  You may obtain a copy of the License at
1043f49081SAndrew Rist#
1143f49081SAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
1243f49081SAndrew Rist#
1343f49081SAndrew Rist#  Unless required by applicable law or agreed to in writing,
1443f49081SAndrew Rist#  software distributed under the License is distributed on an
1543f49081SAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1643f49081SAndrew Rist#  KIND, either express or implied.  See the License for the
1743f49081SAndrew Rist#  specific language governing permissions and limitations
1843f49081SAndrew Rist#  under the License.
1943f49081SAndrew Rist#
2043f49081SAndrew Rist#**************************************************************
21cdf0e10cSrcweir
22cdf0e10cSrcweir
23*dd913a84Sdamjan
24*dd913a84SdamjanPRJ=..
25*dd913a84SdamjanTARGET=prj
26*dd913a84Sdamjan
27*dd913a84Sdamjan.INCLUDE : settings.mk
28*dd913a84Sdamjan
29*dd913a84Sdamjan.IF "$(VERBOSE)"!=""
30*dd913a84SdamjanVERBOSEFLAG :=
31*dd913a84Sdamjan.ELSE
32*dd913a84SdamjanVERBOSEFLAG := -s
33*dd913a84Sdamjan.ENDIF
34*dd913a84Sdamjan
35*dd913a84Sdamjan.IF "$(DEBUG)"!=""
36*dd913a84SdamjanDEBUG_ARGUMENT=DEBUG=$(DEBUG)
37*dd913a84Sdamjan.ELIF "$(debug)"!=""
38*dd913a84SdamjanDEBUG_ARGUMENT=debug=$(debug)
39*dd913a84Sdamjan.ELSE
40*dd913a84SdamjanDEBUG_ARGUMENT=
41*dd913a84Sdamjan.ENDIF
42*dd913a84Sdamjan
43*dd913a84Sdamjanall:
44*dd913a84Sdamjan	cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) $(DEBUG_ARGUMENT) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog
45