mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 10:48:02 +00:00
![Simon J. Gerraty](/assets/img/avatar_default.png)
o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable checks in InitObjdir. Explicit .OBJDIR target always allows read-only directory. o Fix building and unit-tests on non-BSD. o More code cleanup and refactoring. o More unit tests
28 lines
529 B
Makefile
28 lines
529 B
Makefile
# $NetBSD: opt-keep-going.mk,v 1.5 2020/11/09 20:50:56 rillig Exp $
|
|
#
|
|
# Tests for the -k command line option, which stops building a target as soon
|
|
# as an error is detected, but continues building the other, independent
|
|
# targets, as far as possible.
|
|
|
|
.MAKEFLAGS: -d0 # switch stdout to being line-buffered
|
|
.MAKEFLAGS: -k
|
|
|
|
all: dependency other
|
|
|
|
dependency:
|
|
@echo dependency 1
|
|
@false
|
|
@echo dependency 2
|
|
@:; exit 7
|
|
@echo dependency 3
|
|
|
|
other:
|
|
@echo other 1
|
|
@false
|
|
@echo other 2
|
|
|
|
all:
|
|
@echo main 1
|
|
@false
|
|
@echo main 2
|