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