This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: SCM_MAGIC_SNARFER



> While I can't answer this question, you could just do:
> 
> guileapi.x: guileapi.c
> 	touch guileapi.x
> 	$(GUILE-SNARF) -I. -I$(srcdir) $(CPPFLAGS) $(srcdir)/guileapi.c \
> 	  > guileapi.tmp && mv guileapi.tmp guileapi.x

This doesn't play nice with `make' when the snarfing process
encounters an error.  You want to leave the original .x file
unchanged, with the same timestamp, unless the entire process is
successful.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]