source: freewrt/BSDmakefile@ 655dec8

Last change on this file since 655dec8 was 3f943a7, checked in by Thorsten Glaser <tg@…>, 19 years ago

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

git-svn-id: svn://www.freewrt.org/trunk/freewrt@2299 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 712 bytes
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
7TOPDIR= ${.CURDIR}
8PWD= ${.CURDIR}
9
10.if defined(package) && !empty(package)
11subdir:= package/${package}
12_subdir_dep:= ${TOPDIR}/.cfg/FWRT_HAVE_DOT_CONFIG
13.endif
14
15.if defined(subdir) && !empty(subdir)
16_subdir:= ${.TARGETS}
17${.TARGETS}: _subdir
18
19_subdir: ${_subdir_dep}
20 cd ${.CURDIR}/${subdir} && TOPDIR=${.CURDIR} DEVELOPER=1 \
21 ${.CURDIR}/lbin/gmake V=99 ${.MFLAGS} ${_subdir}
22
23. include "${.CURDIR}/lbin/prereq.mk"
24. include "${.CURDIR}/mk/split-cfg.mk"
25.else
26. include "${.CURDIR}/Makefile"
27.endif
Note: See TracBrowser for help on using the repository browser.