source: sasview/src/sas/sascalc/simulation/iqPy/libiqPy/Make.mm @ 4699761

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.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 4699761 was d85c194, checked in by Piotr Rozyczko <piotr.rozyczko@…>, 9 years ago

Remaining modules refactored

  • Property mode set to 100644
File size: 1.3 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# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10#
11
12include local.def
13
14PROJECT = iqPy
15PACKAGE = libiqPy
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)
21
22PROJ_SRCS = \
23    iq.cc
24
25# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
26# build the library
27
28all: $(PROJ_SAR) export
29
30# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31
32ifeq (Win32, ${findstring Win32, $(PLATFORM_ID)})
33
34# build the shared object
35$(PROJ_SAR): product_dirs $(PROJ_OBJS)
36        $(CXX) $(LCXXFLAGS) -o $(PROJ_DLL) \
37        -Wl,--out-implib=$(PROJ_SAR) $(PROJ_OBJS)
38
39# export
40export:: export-headers export-libraries export-binaries
41
42else
43
44# build the shared object
45$(PROJ_SAR): product_dirs $(PROJ_OBJS)
46        $(CXX) $(LCXXFLAGS) -o $(PROJ_SAR) $(PROJ_OBJS)
47
48# export
49export:: export-headers export-libraries
50
51endif
52
53EXPORT_HEADERS = \
54    iq.h
55
56EXPORT_LIBS = $(PROJ_SAR)
57EXPORT_BINS = $(PROJ_DLL)
58
59
60# version
61# $Id$
62
63#
64# End of file
Note: See TracBrowser for help on using the repository browser.