Mercurial > mxe-octave
view src/of-tsa-1-cross-fixes.patch @ 4028:8803dfa40236
nsis installer: set directory to userprofile on startof octave from installer (Bug #45899)
* installer-files/octave-firsttime.vbs: new file
* binary-dist-rules.mk: copy octave-firsttime.vbs to disy folder
* dist-files.mk: add installer-files/octave-firsttime.vbs
* makeinst-script.sh: install and then run octave-firsttime.vbs if the run checkbox is selected at end of install.
author | John Donoghue |
---|---|
date | Wed, 16 Sep 2015 07:51:27 -0400 |
parents | 1368ac3ea124 |
children | c970bbc5e7db |
line wrap: on
line source
diff -ur tsa.orig/src/Makefile tsa/src/Makefile --- tsa.orig/src/Makefile 2015-05-17 20:55:08.000000000 -0400 +++ tsa/src/Makefile 2015-05-17 20:58:48.000000000 -0400 @@ -39,11 +39,12 @@ W32_LIBS += $(LDLIBS_W32)libblas.a W64_LIBS += $(LDLIBS_W64)libblas.a -CC = gcc -CXX = g++ +CC ?= gcc +CXX ?= g++ CFLAGS = -Wall -Wextra -Wconversion -O2 -fPIC -OCTMEX = mkoctfile$(OCTAVE_VERSION) --mex -RM = rm +MKOCTFILE ?= mkoctfile$(OCTAVE_VERSION) +OCTMEX ?= $(MKOCTFILE) --mex +RM ?= rm ifneq (Darwin,$(shell uname)) CFLAGS += -fopenmp @@ -91,7 +92,7 @@ # Octave, MATLAB on Linux ######################################################### %.oct: %.cc - mkoctfile$(OCTAVE_VERSION) "$<" + $(MKOCTFILE) "$<" %.mex: %.cpp $(OCTMEX) "$<" -llapack -lblas