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