1# $NetBSD: archive-suffix.mk,v 1.1 2020/08/29 14:47:26 rillig Exp $ 2# 3# Between 2020-08-23 and 2020-08-30, the below code produced an assertion 4# failure in Var_Set_with_flags, triggered by Compat_Make, when setting the 5# .IMPSRC of an archive node to its .TARGET. 6# 7# The code assumed that the .TARGET variable of every node would be set, but 8# but that is not guaranteed. 9# 10# Between 2016-03-15 and 2016-03-16 the behavior of the below code changed. 11# Until 2016-03-15, it remade the target, starting with 2016-03-16 it says 12# "`all' is up to date". 13 14.SUFFIXES: 15.SUFFIXES: .c .o 16 17all: lib.a(obj1.o) 18 19.c.o: 20 : making $@ 21 22obj1.c: 23 : $@ 24