BayesOpt / matlab / Makefile

MATLABROOT=C:\Program Files (x86)\MATLAB\R2010a
CC=mingw32-c++
INCLUDES=-I"$(MATLABROOT)\extern\include" -I"." -I"..\include" -I"..\wrappers"
LIBS=-L"$(MATLABROOT)\bin\win32" -lmex -lmx -leng -lmat
FLAGS=-shared -DMATLAB_MEX_FILE -Wl,--export-all-symbols

all: disc cont

cont:
	$(CC) $(FLAGS) $(INCLUDES) -o bayesoptcont.mexw32  bayesoptmex.c libbayesopt.dll $(LIBS)

disc:
	$(CC) $(FLAGS) $(INCLUDES) -o bayesoptdisc.mexw32  bayesoptdiscmex.c libbayesopt.dll $(LIBS)

#mingw32-c++ -shared -I"C:\Program Files (x86)\MATLAB\R2010a\extern\include" -I"." -I"..\include" -I"..\wrappers" -DMATLAB_MEX_FILE -o bayesoptdisc.mexw32 -Wl,--export-all-symbols bayesoptdiscmex.c libbayesopt.dll -L"C:\Program Files (x86)\MATLAB\R2010a\bin\win32" -lmex -lmx -leng -lmat
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.