source: sasview/src/sas/sascalc/simulation/pointsmodelpy/tests/Make.mm @ 2ab812d

Last change on this file since 2ab812d was d85c194, checked in by Piotr Rozyczko <piotr.rozyczko@…>, 9 years ago

Remaining modules refactored

  • Property mode set to 100644
File size: 1.6 KB
Line 
1# -*- Makefile -*-
2#
3# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4#
5#                               Michael A.G. Aivazis
6#                        California Institute of Technology
7#                        (C) 1998-2005  All Rights Reserved
8#
9# <LicenseText>
10#
11# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12
13PROJECT = pointsmodelpy
14PACKAGE = tests
15
16PROJ_CLEAN += $(PROJ_CPPTESTS)
17
18PROJ_CXX_INCLUDES += ../../iqPy/libiqPy   \
19                     ../../iqPy/libiqPy/tnt \
20                     ../../geoshapespy/libgeoshapespy   \
21                     ../../analmodelpy/libanalmodelpy   \
22                     ../libpointsmodelpy
23
24PROJ_PYTESTS = signon.py
25PROJ_CPPTESTS = testlores \
26                testpdb  \
27                testcomplexmodel
28PROJ_TESTS = $(PROJ_PYTESTS) $(PROJ_CPPTESTS)
29PROJ_LIBRARIES = -L$(BLD_LIBDIR) -lpointsmodelpy -lgeoshapespy -liqPy
30
31
32#--------------------------------------------------------------------------
33#
34
35all: $(PROJ_TESTS)
36
37test:
38        for test in $(PROJ_TESTS) ; do $${test}; done
39
40release: tidy
41        cvs release .
42
43update: clean
44        cvs update .
45
46#--------------------------------------------------------------------------
47#
48
49testlores: testlores.cc $(BLD_LIBDIR)/libpointsmodelpy.$(EXT_SAR)
50        $(CXX) $(CXXFLAGS) $(LCXXFLAGS) -g -o $@ testlores.cc $(PROJ_LIBRARIES)
51
52testpdb: testpdb.cc $(BLD_LIBDIR)/libpointsmodelpy.$(EXT_SAR)
53        $(CXX) $(CXXFLAGS) $(LCXXFLAGS) -g -o $@ testpdb.cc $(PROJ_LIBRARIES)
54
55testcomplexmodel: testcomplexmodel.cc $(BLD_LIBDIR)/libpointsmodelpy.$(EXT_SAR)
56        $(CXX) $(CXXFLAGS) $(LCXXFLAGS) -g -o $@ testcomplexmodel.cc $(PROJ_LIBRARIES)
57
58# version
59# $Id$
60
61# End of file
Note: See TracBrowser for help on using the repository browser.