magnetic_scattrelease-4.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249unittest-saveload
Last change
on this file since 94f074c4 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 | |
---|
12 | include local.def |
---|
13 | |
---|
14 | PROJECT = iqPy |
---|
15 | PACKAGE = libiqPy |
---|
16 | |
---|
17 | PROJ_SAR = $(BLD_LIBDIR)/$(PACKAGE).$(EXT_SAR) |
---|
18 | PROJ_DLL = $(BLD_BINDIR)/$(PACKAGE).$(EXT_SO) |
---|
19 | PROJ_TMPDIR = $(BLD_TMPDIR)/$(PROJECT)/$(PACKAGE) |
---|
20 | PROJ_CLEAN += $(PROJ_SAR) $(PROJ_DLL) |
---|
21 | |
---|
22 | PROJ_SRCS = \ |
---|
23 | iq.cc |
---|
24 | |
---|
25 | # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
26 | # build the library |
---|
27 | |
---|
28 | all: $(PROJ_SAR) export |
---|
29 | |
---|
30 | # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
31 | |
---|
32 | ifeq (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 |
---|
40 | export:: export-headers export-libraries export-binaries |
---|
41 | |
---|
42 | else |
---|
43 | |
---|
44 | # build the shared object |
---|
45 | $(PROJ_SAR): product_dirs $(PROJ_OBJS) |
---|
46 | $(CXX) $(LCXXFLAGS) -o $(PROJ_SAR) $(PROJ_OBJS) |
---|
47 | |
---|
48 | # export |
---|
49 | export:: export-headers export-libraries |
---|
50 | |
---|
51 | endif |
---|
52 | |
---|
53 | EXPORT_HEADERS = \ |
---|
54 | iq.h |
---|
55 | |
---|
56 | EXPORT_LIBS = $(PROJ_SAR) |
---|
57 | EXPORT_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.