2020-11-07 03:07:02 +03:00
|
|
|
# $NetBSD: archive-suffix.mk,v 1.2 2020/11/07 00:07:02 rillig Exp $
|
2020-08-29 17:47:26 +03:00
|
|
|
#
|
|
|
|
# Between 2020-08-23 and 2020-08-30, the below code produced an assertion
|
2020-11-07 03:07:02 +03:00
|
|
|
# failure in Var_SetWithFlags, triggered by Compat_Make, when setting the
|
2020-08-29 17:47:26 +03:00
|
|
|
# .IMPSRC of an archive node to its .TARGET.
|
|
|
|
#
|
|
|
|
# The code assumed that the .TARGET variable of every node would be set, but
|
|
|
|
# but that is not guaranteed.
|
|
|
|
#
|
|
|
|
# Between 2016-03-15 and 2016-03-16 the behavior of the below code changed.
|
|
|
|
# Until 2016-03-15, it remade the target, starting with 2016-03-16 it says
|
|
|
|
# "`all' is up to date".
|
|
|
|
|
|
|
|
.SUFFIXES:
|
|
|
|
.SUFFIXES: .c .o
|
|
|
|
|
|
|
|
all: lib.a(obj1.o)
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
: making $@
|
|
|
|
|
|
|
|
obj1.c:
|
|
|
|
: $@
|