[go: up one dir, main page]

Menu

[a14978]: / Makefile  Maximize  Restore  History

Download this file

36 lines (25 with data), 1.4 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
CXX=g++
CXXFLAGS=-O2 -march=native -std=c++11 -g -fopenmp -fPIC -Wall
CXXOPTIMFLAGS="${CXXFLAGS}"
LDOPTIMFLAGS="${CXXFLAGS}"
DEFINES_PROFILE=-DENABLE_CALLGRIND
IDIR=-IzUtil_Cxx/include -I/sware/com/matlab_2016a/extern/include
DEPS=DctData.h
LIBS=-lm
LBIR=
#DctData.o: DctData.cpp
# $(CXX) -c -o $@ $< $(CXXFLAGS) $(IDIR) $(DEFINES)
#DctMatlabData.o: DctMatlabData.cpp
# $(CXX) -c -o $@ $< $(CXXFLAGS) $(IDIR) $(DEFINES)
profile_reduction:
/sware/com/matlab_2016a/bin/mex -v -client engine $(LIBS) $(LDIR) $(IDIR) $(DEFINES) CXXOPTIMFLAGS="${CXXFLAGS}" zUtil_Cxx/test/gtTestCxxMathsSumCellVolumes.cpp -largeArrayDims -outdir bin/test/
profile_cell_plus:
/sware/com/matlab_2016a/bin/mex -v -client engine $(LIBS) $(LDIR) $(IDIR) $(DEFINES) CXXOPTIMFLAGS="${CXXFLAGS}" zUtil_Cxx/test/gtTestCxxMathsCellPlus.cpp -largeArrayDims -outdir bin/test/
profile_b2s:
/sware/com/matlab_2016a/bin/mex -v -client engine $(LIBS) $(LDIR) $(IDIR) $(DEFINES) CXXOPTIMFLAGS="${CXXFLAGS}" zUtil_Cxx/test/gtTestCxx6DBlobsToMultipleSinos.cpp -largeArrayDims -outdir bin/test/
/sware/com/matlab_2016a/bin/mex -v -client engine $(LIBS) $(LDIR) $(IDIR) $(DEFINES) CXXOPTIMFLAGS="${CXXFLAGS}" zUtil_Cxx/test/gtTestCxx6DMultipleSinosToBlobs.cpp -largeArrayDims -outdir bin/test/
profile: profile_reduction profile_b2s profile_cell_plus
#all: DctData.o DctMatlabData.o
all: profile
clean:
rm bin/test/*.o