Changeset 222 for trunk/src/mesh


Ignore:
Timestamp:
Feb 27, 2006 1:00:50 PM (18 years ago)
Author:
cxsong
Message:

added test programs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mesh/Makefile

    r215 r222  
    2929# define which programs can be made
    3030PROGS           =   librpmesh
     31TEST_PROGS =    test_node2d \
     32                test_node3d \
     33                test_element \
     34                test_elem2
    3135
    3236# define our compiling environment
     
    7478
    7579all: ${PROGS}
     80
     81test: ${TEST_PROGS}
     82
    7683#install: install_py install_rappture install_rpobjs install_matlab install_octave
    7784
     
    347354#### CLEAN UP ############################################################
    348355clean:
    349         - rm -f *.o librappture.so* librappture.a libRp*.so* rp*.mex* $(OCTAVE_SRC)/rp*.o*
    350         - rm -rf build
     356        - rm -f *.o librpmesh.a ../librpmesh.so* $(TEST_PROGS)
    351357
    352358#################
     
    360366test_element: test_element.o ../librpmesh.so
    361367        $(CXX) -o $@ $< $(LIB_RPMESH)
     368test_elem2: test_elem2.o ../librpmesh.so
     369        $(CXX) -o $@ $< $(LIB_RPMESH)
     370etest: etest.o ../librpmesh.so
     371        $(CXX) -o $@ $< $(LIB_RPMESH)
Note: See TracChangeset for help on using the changeset viewer.