summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@red-bean.com>1998-10-15 22:02:59 +0000
committerJim Blandy <jimb@red-bean.com>1998-10-15 22:02:59 +0000
commit8e9fb89977ee4e56bc2d6363a15cb3c7e4b7910d (patch)
tree95588c8bbcf3f147b960d94062a54557bbb34a13
parent8ff90e0474c6c5143c2589739a4d1522cd317edb (diff)
downloadguile-8e9fb89977ee4e56bc2d6363a15cb3c7e4b7910d.tar.gz
* 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.
-rw-r--r--doc/example-smob/Makefile4
1 files 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)