view src/of-ocs-1-cross-fixes.patch @ 4180:4b0004dc5941

build: update dist rules for out of source build * Makefile.in: mod dist rule for use of TOP_DIR * dist-files.mk: remove refs no longer in sources
author John D
date Mon, 01 Aug 2016 17:31: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 *~