changeset 10249:e88a05e8eded octave-forge

general: use environment variable MKOCTFILE if given
author carandraug
date Mon, 14 May 2012 08:45:29 +0000
parents 48159ee9f688
children f1181c9f0ee2
files main/general/src/Makefile
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/main/general/src/Makefile	Mon May 14 08:17:51 2012 +0000
+++ b/main/general/src/Makefile	Mon May 14 08:45:29 2012 +0000
@@ -1,4 +1,6 @@
-MKOCTFILE = mkoctfile -Wall
+ifndef MKOCTFILE
+MKOCTFILE := mkoctfile -Wall
+endif
 
 PROGS = $(patsubst %.cc,%.oct,$(wildcard *.cc))