mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 20:00:19 +02:00
* Makefile.in (.c.x): Simplify; there's no need to run this rule
when scmconfig.h doesn't exist.
This commit is contained in:
parent
1089e30d67
commit
cc8ab1294d
1 changed files with 1 additions and 11 deletions
|
@ -390,17 +390,7 @@ manifest = $(ancillary) $(c_sources)
|
||||||
.SUFFIXES: .o .c .h .ps .dvi .info .texinfo .scm .x
|
.SUFFIXES: .o .c .h .ps .dvi .info .texinfo .scm .x
|
||||||
|
|
||||||
.c.x:
|
.c.x:
|
||||||
if test ! -escmconfig.h ; then \
|
$(CC) -DSCM_MAGIC_SNARFER -E $< | grep "^%%%" | sed -e "s/^%%%//" > $@
|
||||||
touch scmconfig.h; \
|
|
||||||
fake_scmconfig=1; \
|
|
||||||
else \
|
|
||||||
fake_scmconfig=0; \
|
|
||||||
fi; \
|
|
||||||
$(CC) -DSCM_MAGIC_SNARFER -E $< | grep "^%%%" | sed -e "s/^%%%//" > $@ ; \
|
|
||||||
if test $$fake_scmconfig -eq 1 ; then \
|
|
||||||
rm scmconfig.h; \
|
|
||||||
else : ; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: libguile.a
|
all: libguile.a
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue