1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00
guile/doc/example-smob/Makefile
Ludovic Courtès 28b9264d5b Update `doc/example-smob'.
* 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'.
2011-02-15 16:40:27 +01:00

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)