mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
(snarfcppopts): New var.
(.c.x): Use $(snarfcppopts). Rework guile-snarf usage.
This commit is contained in:
parent
dff9830622
commit
6a9a7bf27a
1 changed files with 2 additions and 2 deletions
|
@ -45,10 +45,10 @@ pkginclude_HEADERS = readline.h
|
|||
ice9dir = $(datadir)/guile/$(VERSION)/ice-9
|
||||
ice9_DATA = readline.scm
|
||||
|
||||
snarfcppopts = $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
||||
SUFFIXES = .x
|
||||
.c.x:
|
||||
$(GUILE_SNARF) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@ \
|
||||
|| { rm $@; false; }
|
||||
$(GUILE_SNARF) $< $(snarfcppopts)
|
||||
|
||||
EXTRA_DIST = $(ice9_DATA) LIBGUILEREADLINE-VERSION
|
||||
ETAGS_ARGS = $(ice9_DATA)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue