From dcf82408f8f9a2d98a7d05c3983aad438d92de18 Mon Sep 17 00:00:00 2001 From: John Denker Date: Wed, 20 Nov 2024 12:30:30 -0700 Subject: link all the dependencies, not just the newish ones; otherwise the linkage step will appear to succeed, but very likely the program will fail at runtime, with inappropriate and misleading error messages. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 63bbf05..57560d2 100644 --- a/Makefile +++ b/Makefile @@ -26,5 +26,4 @@ initbd.o: initbd.f initps.o: initps.f htdp: htdp.o initvl.o initeq.o initbd.o initps.o - $(FC) $(CFLAGS) $(INCLUDES) -o $@ $? $(LIBS) - + $(FC) $(CFLAGS) $(INCLUDES) -o $@ $^ $(LIBS) -- cgit v1.2.3