ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/fskit/Makefile
Revision: 1.1
Committed: Mon May 16 22:15:53 2005 UTC (11 years, 1 month ago) by micha
Branch: MAIN
CVS Tags: HEAD
Log Message:
A simple makefile

Line File contents
1 ###################################################
2 #
3 # Makefile for fs_kit
4 # Creator [Xcode -> Makefile Ver: 3.01]
5 # Created: [Mon May 16 08:46:02 2005]
6 #
7 ###################################################
8
9 #
10 # Macros
11 #
12
13 # The following two lines can be determined by running:
14
15 # wx-config --cppflags
16 WX_CCFLAGS = -I/sw/lib/wx/include/mac-ansi-release-2.5 -I/sw/include/wx-2.5 -D__WXMAC__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWX_PRECOMP -DNO_GCC_PRAGMA
17
18 # wx-config --libs
19 WX_LIBS = -L/sw/lib -L/sw/lib -framework QuickTime -framework IOKit -framework Carbon -framework Cocoa -framework System -lwx_mac_xrc-2.5 -lwx_mac_html-2.5 -lwx_mac_adv-2.5 -lwx_mac_core-2.5 -lwx_base_carbon_xml-2.5 -lwx_base_carbon_net-2.5 -lwx_base_carbon-2.5
20
21 # If fs_gui_wxwidgets is set, fs_kit gets compiled with the GUI
22 WX_FSKITFLAG = -Dfs_gui_wxwidgets
23
24 CC = /usr/bin/gcc
25 CC_OPTIONS = -W -Wall -Wno-long-double -I/sw/include $(WX_FSKITFLAG) $(WX_CCFLAGS)
26 LNK_OPTIONS = -L/sw/lib -lgsl -lgslcblas -lstdc++ $(WX_LIBS)
27
28 #
29 # INCLUDE directories for fs_kit
30 #
31
32 INCLUDE =
33
34
35 #
36 # Build fs_kit
37 #
38
39 fs_kit : \
40 fs_align_aspectrum.o\
41 fs_align_aspectrumvector.o\
42 fs_align_clusterdriver.o\
43 fs_fit_fitfrontend.o\
44 fs_fit_gsl.o\
45 fs_fit_model.o\
46 fs_fit_spectrum.o\
47 fs_fit_wlcmodel.o\
48 fs_fit_wlcmodel_p.o\
49 fs_gui_app.o\
50 fs_gui_layout.o\
51 fs_kit_driver.o\
52 fs_kit_main.o\
53 fs_kit_options.o\
54 fs_pc_clusterdriver.o\
55 fs_pc_cspectrum.o\
56 fs_pc_cspectrumvector.o\
57 fs_select_peak.o\
58 fs_select_tree.o
59
60 $(CC) $(LNK_OPTIONS) \
61 fs_align_aspectrum.o\
62 fs_align_aspectrumvector.o\
63 fs_align_clusterdriver.o\
64 fs_fit_fitfrontend.o\
65 fs_fit_gsl.o\
66 fs_fit_model.o\
67 fs_fit_spectrum.o\
68 fs_fit_wlcmodel.o\
69 fs_fit_wlcmodel_p.o\
70 fs_gui_app.o\
71 fs_gui_layout.o\
72 fs_kit_driver.o\
73 fs_kit_main.o\
74 fs_kit_options.o\
75 fs_pc_clusterdriver.o\
76 fs_pc_cspectrum.o\
77 fs_pc_cspectrumvector.o\
78 fs_select_peak.o\
79 fs_select_tree.o\
80 -o fs_kit
81
82 .PHONY: clean
83 clean:
84 rm *.o
85
86
87 #
88 # Build the parts of fs_kit
89 #
90
91
92 # Item # 1 -- fs_align_aspectrum --
93 fs_align_aspectrum.o : src/fs_align_aspectrum.cpp
94 $(CC) $(CC_OPTIONS) src/fs_align_aspectrum.cpp -c $(INCLUDE) -o fs_align_aspectrum.o
95
96
97 # Item # 2 -- fs_align_aspectrumvector --
98 fs_align_aspectrumvector.o : src/fs_align_aspectrumvector.cpp
99 $(CC) $(CC_OPTIONS) src/fs_align_aspectrumvector.cpp -c $(INCLUDE) -o fs_align_aspectrumvector.o
100
101
102 # Item # 3 -- fs_align_clusterdriver --
103 fs_align_clusterdriver.o : src/fs_align_clusterdriver.cpp
104 $(CC) $(CC_OPTIONS) src/fs_align_clusterdriver.cpp -c $(INCLUDE) -o fs_align_clusterdriver.o
105
106
107 # Item # 4 -- fs_fit_fitfrontend --
108 fs_fit_fitfrontend.o : src/fs_fit_fitfrontend.cpp
109 $(CC) $(CC_OPTIONS) src/fs_fit_fitfrontend.cpp -c $(INCLUDE) -o fs_fit_fitfrontend.o
110
111
112 # Item # 5 -- fs_fit_gsl --
113 fs_fit_gsl.o : src/fs_fit_gsl.cpp
114 $(CC) $(CC_OPTIONS) src/fs_fit_gsl.cpp -c $(INCLUDE) -o fs_fit_gsl.o
115
116
117 # Item # 6 -- fs_fit_model --
118 fs_fit_model.o : src/fs_fit_model.cpp
119 $(CC) $(CC_OPTIONS) src/fs_fit_model.cpp -c $(INCLUDE) -o fs_fit_model.o
120
121
122 # Item # 7 -- fs_fit_spectrum --
123 fs_fit_spectrum.o : src/fs_fit_spectrum.cpp
124 $(CC) $(CC_OPTIONS) src/fs_fit_spectrum.cpp -c $(INCLUDE) -o fs_fit_spectrum.o
125
126
127 # Item # 8 -- fs_fit_wlcmodel --
128 fs_fit_wlcmodel.o : src/fs_fit_wlcmodel.cpp
129 $(CC) $(CC_OPTIONS) src/fs_fit_wlcmodel.cpp -c $(INCLUDE) -o fs_fit_wlcmodel.o
130
131
132 # Item # 9 -- fs_fit_wlcmodel_p --
133 fs_fit_wlcmodel_p.o : src/fs_fit_wlcmodel_p.cpp
134 $(CC) $(CC_OPTIONS) src/fs_fit_wlcmodel_p.cpp -c $(INCLUDE) -o fs_fit_wlcmodel_p.o
135
136
137 # Item # 10 -- fs_gui_app --
138 fs_gui_app.o : src/fs_gui_app.cpp
139 $(CC) $(CC_OPTIONS) src/fs_gui_app.cpp -c $(INCLUDE) -o fs_gui_app.o
140
141
142 # Item # 11 -- fs_gui_layout --
143 fs_gui_layout.o : src/fs_gui_layout.cpp
144 $(CC) $(CC_OPTIONS) src/fs_gui_layout.cpp -c $(INCLUDE) -o fs_gui_layout.o
145
146
147 # Item # 12 -- fs_kit_driver --
148 fs_kit_driver.o : src/fs_kit_driver.cpp
149 $(CC) $(CC_OPTIONS) src/fs_kit_driver.cpp -c $(INCLUDE) -o fs_kit_driver.o
150
151
152 # Item # 13 -- fs_kit_main --
153 fs_kit_main.o : src/fs_kit_main.cpp
154 $(CC) $(CC_OPTIONS) src/fs_kit_main.cpp -c $(INCLUDE) -o fs_kit_main.o
155
156
157 # Item # 14 -- fs_kit_options --
158 fs_kit_options.o : src/fs_kit_options.cpp
159 $(CC) $(CC_OPTIONS) src/fs_kit_options.cpp -c $(INCLUDE) -o fs_kit_options.o
160
161
162 # Item # 15 -- fs_pc_clusterdriver --
163 fs_pc_clusterdriver.o : src/fs_pc_clusterdriver.cpp
164 $(CC) $(CC_OPTIONS) src/fs_pc_clusterdriver.cpp -c $(INCLUDE) -o fs_pc_clusterdriver.o
165
166
167 # Item # 16 -- fs_pc_cspectrum --
168 fs_pc_cspectrum.o : src/fs_pc_cspectrum.cpp
169 $(CC) $(CC_OPTIONS) src/fs_pc_cspectrum.cpp -c $(INCLUDE) -o fs_pc_cspectrum.o
170
171
172 # Item # 17 -- fs_pc_cspectrumvector --
173 fs_pc_cspectrumvector.o : src/fs_pc_cspectrumvector.cpp
174 $(CC) $(CC_OPTIONS) src/fs_pc_cspectrumvector.cpp -c $(INCLUDE) -o fs_pc_cspectrumvector.o
175
176
177 # Item # 18 -- fs_select_peak --
178 fs_select_peak.o : src/fs_select_peak.cpp
179 $(CC) $(CC_OPTIONS) src/fs_select_peak.cpp -c $(INCLUDE) -o fs_select_peak.o
180
181
182 # Item # 19 -- fs_select_tree --
183 fs_select_tree.o : src/fs_select_tree.cpp
184 $(CC) $(CC_OPTIONS) src/fs_select_tree.cpp -c $(INCLUDE) -o fs_select_tree.o
185
186
187 ##### END RUN ####