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