view src/of-ocs-1-cross-fixes.patch @ 4240:724749afb8b5

Makefile.in: check if have version of octave and warn if cant find it (Bug #49503) * Makefile.in: in check-requirements, verify and warn if do not have correct octave
author John D
date Thu, 03 Nov 2016 04:08:08 -0400
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 *~