Changeset 99


Ignore:
Timestamp:
Oct 11, 2005 6:47:34 AM (19 years ago)
Author:
dkearney
Message:

makefile wthat works on hamlet to instabuild matlab bindings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile

    r98 r99  
    11# you need to change this to where your version of python is installed.
    22# tell make where to find python header files
    3 RP_INSTALL_BASE = /opt/rappture
     3RP_INSTALL_BASE = /autohome/u76/kearneyd/rappture
    44
    55# tell make where to find the expat & libscew sources
    6 INCL_RP_DEPS    = -I $(RP_INSTALL_BASE)/include
     6INCL_RP_DEPS    = -I$(RP_INSTALL_BASE)/include
    77
    88#EXPAT_HEADERS   = $(RP_INSTALL_BASE)/include
     
    2525
    2626# define the top of the rappture directory structure
    27 RP_BASE   = $(TOP_DIR)/rappture
     27RP_BASE   = $(TOP_DIR)/rappture_svn
    2828
    2929# define which programs can be made
    3030PROGS           =   librappture    \
    3131                    libRpObjects   \
    32                     Rappture.Units 
     32                    Rappture.Units
    3333#                    RpMatlab
    3434
    3535# define our compiling environment
    36 # 
     36#
    3737CC              = gcc
    3838CXX             = g++
     
    6262LIB_RAPPTURE    = -Wl,-rpath,$(LIB_DIR) -L$(LIB_DIR) -lrappture
    6363
    64 INCL_CORE       = -I $(INCLUDES_DIR)/core
    65 INCL_CEE        = -I $(INCLUDES_DIR)/cee
    66 INCL_FORTRAN    = -I $(INCLUDES_DIR)/fortran
    67 INCL_PY         = -I $(INCLUDES_DIR)/python
    68 INCL_MATLAB     = -I $(INCLUDES_DIR)/matlab
     64INCL_CORE       = -I$(INCLUDES_DIR)/core
     65INCL_CEE        = -I$(INCLUDES_DIR)/cee
     66INCL_FORTRAN    = -I$(INCLUDES_DIR)/fortran
     67INCL_PY         = -I$(INCLUDES_DIR)/python
     68INCL_MATLAB     = -I$(INCLUDES_DIR)/matlab
    6969
    7070
     
    191191# matlab bindings
    192192MEX_INCLS = $(INCL_MATLAB) $(INCL_CORE) $(INCL_CEE) $(INCL_RP_DEPS)
    193 MATLAB_COMP_ARGS = $(MATLAB_SRC)/RpMatlabInterface.cc $(MEX_INCLS) $(LIB_RAPPTURE)
     193MATLAB_COMP_ARGS = $(MATLAB_SRC)/RpMatlabInterface.cc $(MEX_INCLS) -L$(LIB_DIR) -lrappture
    194194
    195195RpMatlab:
Note: See TracChangeset for help on using the changeset viewer.