diff extra/NaN/src/Makefile @ 12702:29b7963bf748 octave-forge

define typeof() when missing; support for clang compiler added
author schloegl
date Tue, 22 Dec 2015 10:28:53 +0000
parents 16bc2657b1f1
children
line wrap: on
line diff
--- a/extra/NaN/src/Makefile	Tue Dec 22 00:48:47 2015 +0000
+++ b/extra/NaN/src/Makefile	Tue Dec 22 10:28:53 2015 +0000
@@ -48,9 +48,9 @@
 ifneq (Darwin,$(shell uname)) 
 CFLAGS      += -fopenmp 
 MEX_OPTION  += -lgomp 
+MEX_OPTION  += CC\#$(CXX) CXX\#$(CXX) CFLAGS\#"$(CFLAGS) " CXXFLAGS\#"$(CFLAGS) "
 endif 
  
-MEX_OPTION  += CC\#$(CXX) CXX\#$(CXX) CFLAGS\#"$(CFLAGS) " CXXFLAGS\#"$(CFLAGS) "
 MATMEX      = $(MATLABDIR)/bin/mex $(MEX_OPTION)
 
 PROGS = histo_mex.mex covm_mex.mex kth_element.mex sumskipnan_mex.mex str2array.mex train.mex svmtrain_mex.mex svmpredict_mex.mex xptopen.mex