mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-07-06 09:30:29 +02:00
* 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.
This commit is contained in:
parent
8ff90e0474
commit
8e9fb89977
1 changed files with 2 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
||||||
CFLAGS=`guile-config compile`
|
CFLAGS=`guile-config compile`
|
||||||
LDFLAGS=`guile-config link`
|
LIBS=`guile-config link`
|
||||||
|
|
||||||
O_FILES=image-type.o myguile.o
|
O_FILES=image-type.o myguile.o
|
||||||
|
|
||||||
all: myguile
|
all: myguile
|
||||||
|
|
||||||
myguile: $(O_FILES)
|
myguile: $(O_FILES)
|
||||||
$(CC) $(LDFLAGS) $(O_FILES) -o myguile
|
$(CC) $(O_FILES) $(LIBS) -o myguile
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm -rf myguile $(O_FILES)
|
-rm -rf myguile $(O_FILES)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue