root/branches/common-nfo/GNUmakefile

Revision 2299, 0.6 kB (checked in by tg, 2 years ago)

default to verbose also for e.g. make package=foo clean and stuff,
to be consistent with other behaviour

Line 
1 # $FreeWRT$
2 #-
3 # This file is part of the FreeWRT project. FreeWRT is copyrighted
4 # material, please see the LICENCE file in the top-level directory
5 # or at http://www.freewrt.org/licence for details.
6
7 TOPDIR:=        $(shell pwd)
8 PWD:=           ${TOPDIR}
9
10 ifneq (${package},)
11 subdir:=        package/${package}
12 _subdir_dep:=   ${TOPDIR}/.cfg/FWRT_HAVE_DOT_CONFIG
13 endif
14
15 ifneq (${subdir},)
16 ${MAKECMDGOALS}: _subdir
17
18 _subdir: ${_subdir_dep}
19         cd ${subdir} && TOPDIR=${TOPDIR} DEVELOPER=1 \
20             ${TOPDIR}/lbin/gmake V=99 ${MAKEFLAGS} ${MAKECMDGOALS}
21
22 include lbin/prereq.mk
23 include mk/split-cfg.mk
24 else
25 include Makefile
26 endif
Note: See TracBrowser for help on using the browser.