view vpath.sed @ 106499:edbd6b615dbe

Get rid of the ELCFILES abomination. * Makefile.in (update-elclist, ELCFILES, compile-last): Remove. (compile-elcfiles): New phony target. (compile-main): Compute ELCFILES dynamically. (compile-clean): New target to remove left-over elc files. (compile, all): Use it.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 09 Dec 2009 01:53:15 +0000
parents 695cf19ef79e
children 375f2633d815
line wrap: on
line source

/^VPATH *=/c\
# This works only in GNU make.  Using the patterns avoids\
# object files being found by VPATH, and thus permits building\
# when $srcdir is configured itself.\
vpath %.c $(srcdir)\
vpath %.h $(srcdir)\
\

# arch-tag: 56a64b50-e4e8-443a-960f-f13af0f1a545