Re: git repo proposal
Felix Salfelder <[email protected]>
| Newsgroups | gmane.comp.gnu.gnucap.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Al. On Mon, May 27, 2013 at 02:20:39AM -0400, al davis wrote: > Several cases here .. > > load foo.va > load foo.c > load foo.cc > load foo.cpp think of a makefile rules.mk that is installed to $prefix/share/gnucap (that is the default autotools:$pkgdatadir) rules.mk.in looks like (roughly, for example) VPATH=.. .so: %.cc @CXX@ @CPPFLAGS@ [ .. we know that] $< -o $@ based on the extension, ".load foo.cc" runs mkdir .gctmp; make -f @pkgdatadir@/rules.mk -C .gctmp foo.so and finally loads foo.so. some finetuning is required, but i see absolutely no problem here. > load foo (a directory) walk all entries of foo recursively? (take care of where .gctmp is, as foo might be readonly!). regards felix PS: this is not about the build system, you can as well fill rules.mk with your favourite program. $pkgdatadir is no magic either. just convenient.