/normxcorr/trunk

To get this branch, use:
bzr branch http://suren.me/webbzr/normxcorr/trunk

« back to all changes in this revision

Viewing changes to dict_hw/matlab/Makefile

  • Committer: Suren A. Chilingaryan
  • Date: 2009-12-12 01:38:41 UTC
  • Revision ID: csa@dside.dyndns.org-20091212013841-feih3qa4i28x75j4
Provide stand-alone library

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Define installation location for CUDA and compilation flags compatible
2
2
# with the CUDA include files.
3
3
CUDAHOME    = /opt/cuda
4
 
INCLUDEDIR  = -I$(CUDAHOME)/include
5
 
INCLUDELIB  = -L$(CUDAHOME)/lib -lcufft -lcublas -lcudpp64 -Wl,-rpath,$(CUDAHOME)/lib
 
4
INCLUDEDIR  = -I../src
 
5
INCLUDELIB  = -L../src -ldict_hw
 
6
 
 
7
#INCLUDEDIR  = -I$(CUDAHOME)/include
 
8
#INCLUDELIB  = -L$(CUDAHOME)/lib -lcufft -lcublas -lcudpp64 -Wl,-rpath,$(CUDAHOME)/lib
6
9
CFLAGS      = -fPIC -D_GNU_SOURCE -pthread -fexceptions -Wall
7
10
#COPTIMFLAGS = -O3 -funroll-loops -msse2
8
11
COPTIMFLAGS = -O2 -funroll-loops -msse2
9
12
 
10
 
OBJECTS     = local_sum.cu
11
 
HEADERS     = normxcorr_hw.h normxcorr_hw_kernel.cu local_sum_kernel.cu
 
13
OBJECTS         =
 
14
HEADERS         =
 
15
#OBJECTS            = local_sum.cu
 
16
#HEADERS            = normxcorr_hw.h normxcorr_hw_kernel.cu local_sum_kernel.cu
12
17
 
13
18
# Define installation location for MATLAB.
14
19
export MATLAB = /opt/Matlab