Mercurial > forge
changeset 12598:866aebba15d0 octave-forge
use MKOCTFILE to allow crosscompilation
author | cdf |
---|---|
date | Wed, 15 Apr 2015 09:00:22 +0000 |
parents | 4b8c66b9876f |
children | b96cee19cdb9 |
files | extra/nurbs/src/Makefile |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/extra/nurbs/src/Makefile Wed Apr 15 08:54:20 2015 +0000 +++ b/extra/nurbs/src/Makefile Wed Apr 15 09:00:22 2015 +0000 @@ -2,14 +2,16 @@ curvederivcpts.oct nrb_srf_basisfun_der__.oct surfderiveval.oct bspderiv.oct \ nrbsurfderiveval.oct tbasisfun.oct +MKOCTFILE ?= mkoctfile + all: $(OCTFILES) low_level_functions.o: low_level_functions.cc - mkoctfile -c $< + $(MKOCTFILE) -c $< %.oct: %.cc low_level_functions.o - mkoctfile $< low_level_functions.o + $(MKOCTFILE) $< low_level_functions.o clean: -rm -f *.o core octave-core *.oct *~ -# DO NOT DELETE +