mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
* doc/example-smob/Makefile (CFLAGS, LIBS): Use `pkg-config' instead of `guile-config'. * doc/example-smob/image-type.c (mark_image, free_image): Remove. (init_image_type): Don't call `scm_set_smob_mark' and `scm_set_smob_free'.
12 lines
222 B
Makefile
12 lines
222 B
Makefile
CFLAGS = `pkg-config guile-2.0 --cflags`
|
|
LIBS = `pkg-config guile-2.0 --libs`
|
|
|
|
O_FILES = image-type.o myguile.o
|
|
|
|
all: myguile
|
|
|
|
myguile: $(O_FILES)
|
|
$(CC) $(O_FILES) $(LIBS) -o myguile
|
|
|
|
clean:
|
|
-rm -rf myguile $(O_FILES)
|