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