source: sasview/src/sas/simulation/analmodelpy/libanalmodelpy/Make.mm @ c4c3ec3

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since c4c3ec3 was b9a5f0e, checked in by krzywon, 10 years ago

90% complete with the conversion.

  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[aa639ea]1# -*- Makefile -*-
2#
3# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4#
5#                               Michael A.G. Aivazis
6#                        California Institute of Technology
7#                        (C) 1998-2005  All Rights Reserved
8#
9# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10#
11
12include local.def
13
14PROJECT = analmodelpy
15PACKAGE = libanalmodelpy
16
17PROJ_SAR = $(BLD_LIBDIR)/$(PACKAGE).$(EXT_SAR)
18PROJ_DLL = $(BLD_BINDIR)/$(PACKAGE).$(EXT_SO)
19PROJ_TMPDIR = $(BLD_TMPDIR)/$(PROJECT)/$(PACKAGE)
20PROJ_CLEAN += $(PROJ_SAR) $(PROJ_DLL)
21PROJ_LIBRARIES = -lgeoshpespy -liqPy
22#PROJ_LIBRARIES = -L/home/jingz1/dv/tools/pythia-0.8/lib -lgeoshpespy -liqPy
23
24PROJ_SRCS = \
25    analytical_model.cc
26   
27# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28# build the library
29
30all: $(PROJ_SAR) export
31
32# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
34ifeq (Win32, ${findstring Win32, $(PLATFORM_ID)})
35
36# build the shared object
37$(PROJ_SAR): product_dirs $(PROJ_OBJS)
38        $(CXX) $(LCXXFLAGS) -o $(PROJ_DLL) \
39        -Wl,--out-implib=$(PROJ_SAR) $(PROJ_OBJS)
40
41# export
42export:: export-headers export-libraries export-binaries
43
44else
45
46# build the shared object
47$(PROJ_SAR): product_dirs $(PROJ_OBJS)
48        $(CXX) $(LCXXFLAGS) -o $(PROJ_SAR) $(PROJ_OBJS) $(PROJ_LIBRARIES)
49
50# export
51export:: export-headers export-libraries
52
53endif
54
55EXPORT_HEADERS = \
56    analytical_model.h  \
[b9a5f0e]57    sas_model.h
[aa639ea]58
59EXPORT_LIBS = $(PROJ_SAR)
60EXPORT_BINS = $(PROJ_DLL)
61
62# version
63# $Id$
64
65#
66# End of file
Note: See TracBrowser for help on using the repository browser.