Mercurial > mxe-octave
view src/of-ocs-1-cross-fixes.patch @ 4066:0962acdde3be
builld: allow out of source build
* Makefile.in: add TOP_BUILD_DIR var and use TOP_DIR=srcdir, TOP_BUILD_DIR=builddir, modify paths to use TOP_DIR where needed
* binary-dist-rules.mk: use TOP_DIR and TOP_BUILD_DIR where needed
* makeinst-script.sh: use script path to determine TOPDIR, use TOPDIR where needed
* src/default-octave.mk: install octave-version to builddir
* src/stable-octave.mk: install octave-version to builddir
* src/octave.mk: install octave-version to builddir
* tools/set-mxe-env.sh.in: update fir builddir and srcdir use
author | John Donoghue |
---|---|
date | Wed, 23 Dec 2015 08:11:04 -0500 |
parents | cdbce8086eaa |
children |
line wrap: on
line source
diff -ur ocs.old/src/Makefile ocs/src/Makefile --- ocs.old/src/Makefile 2015-07-07 20:23:51.000000000 -0400 +++ ocs/src/Makefile 2015-07-07 20:24:25.000000000 -0400 @@ -1,9 +1,10 @@ OCTFILES:=Mshichmanhodgesmosfet.oct +MKOCTFILE ?= mkoctfile all: $(OCTFILES) %.oct: %.cc - mkoctfile $< + $(MKOCTFILE) $< clean: -rm -f *.o core octave-core *.oct *~