From 8e9fb89977ee4e56bc2d6363a15cb3c7e4b7910d Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Thu, 15 Oct 1998 22:02:59 +0000 Subject: [PATCH] * Makefile (myguile): Fix link command, to put the Guile libraries after the object files. The old command worked on my machine, but I don't see how. --- doc/example-smob/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/example-smob/Makefile b/doc/example-smob/Makefile index b312c4594..548c5ed83 100644 --- a/doc/example-smob/Makefile +++ b/doc/example-smob/Makefile @@ -1,12 +1,12 @@ CFLAGS=`guile-config compile` -LDFLAGS=`guile-config link` +LIBS=`guile-config link` O_FILES=image-type.o myguile.o all: myguile myguile: $(O_FILES) - $(CC) $(LDFLAGS) $(O_FILES) -o myguile + $(CC) $(O_FILES) $(LIBS) -o myguile clean: -rm -rf myguile $(O_FILES)