mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +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
|
||||
|
||||
.c.x:
|
||||
if test ! -escmconfig.h ; then \
|
||||
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
|
||||
$(CC) -DSCM_MAGIC_SNARFER -E $< | grep "^%%%" | sed -e "s/^%%%//" > $@
|
||||
|
||||
.PHONY: all
|
||||
all: libguile.a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue