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