From 9166ea01ba7c9fec2be9df5af0edfe339bc85a23 Mon Sep 17 00:00:00 2001 From: Rob Swindell <rob@synchro.net> Date: Sun, 25 Apr 2021 04:27:12 +0000 Subject: [PATCH] use $^ instead of $? for the prereqs for the ans2asc link command Fixes the link failure when sauce.o didn't need to be rebuilt. --- src/sbbs3/GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbbs3/GNUmakefile b/src/sbbs3/GNUmakefile index c4fada1fa8..2084301a62 100644 --- a/src/sbbs3/GNUmakefile +++ b/src/sbbs3/GNUmakefile @@ -218,7 +218,7 @@ $(JSEXEC): $(JSEXEC_OBJS) $(SBBS) # ANS2ASC $(ANS2ASC): $(OBJODIR)/ans2asc.o $(OBJODIR)/sauce.o $(XPDEV_LIB) @echo Linking $@ - $(QUIET)$(CC) $(CONSOLE_LDFLAGS) -o $@ $? -lm + $(QUIET)$(CC) $(CONSOLE_LDFLAGS) -o $@ $^ -lm # ASC2ANS $(ASC2ANS): $(OBJODIR)/asc2ans.o -- GitLab