source: SH_SHM/trunk/Makefile @ 372

Revision 16, 2.1 KB checked in by marcus, 14 years ago (diff)

r1 | svn | 2007-12-13 11:10:29 +0100 (Do, 13 Dez 2007) | 2 lines

Initial import

Line 
1# file Makefile
2#      ========
3#
4# version 7, 21-Nov-2005
5#
6# main Makefile for SH/SHM
7# K. Stammler, 19-Feb-96
8
9
10# without SHM
11S_DEPEND_ALL            = sd_source
12S_DEPEND_DEPEND = sd_source_d sd_foreign_d sd_newgraph_d sd_seed_io_d \
13                                                        sd_gcf_d sd_util_d
14S_DEPEND_CLEAN          = sd_source_c
15# including SHM
16F_DEPEND_ALL            = sd_source sd_motif sd_img
17F_DEPEND_DEPEND = sd_source_d sd_foreign_d sd_newgraph_d sd_seed_io_d \
18                                        sd_gcf_d sd_util_d sd_motif_d sd_img_d
19F_DEPEND_CLEAN          = sd_source_c sd_motif_c sd_img_c sd_gcf_c
20
21
22
23#
24# only command line version SH
25#
26DEPEND_ALL              = $(S_DEPEND_ALL)
27DEPEND_DEPEND   = $(S_DEPEND_DEPEND)
28DEPEND_CLEAN    = $(S_DEPEND_CLEAN)
29#
30#
31# including SHM
32#
33#DEPEND_ALL             = $(F_DEPEND_ALL)
34#DEPEND_DEPEND  = $(F_DEPEND_DEPEND)
35#DEPEND_CLEAN   = $(F_DEPEND_CLEAN)
36#
37
38all: $(DEPEND_ALL)
39
40depend: $(DEPEND_DEPEND)
41
42clean: $(DEPEND_CLEAN)
43
44shm: $(F_DEPEND_ALL)
45
46depend_shm: $(F_DEPEND_DEPEND)
47
48clean_shm: $(F_DEPEND_CLEAN)
49
50world:
51        @cp shc shc_world; \
52        if  [ -f source/motif/shm ]; \
53                then \
54                cp source/motif/shm source/motif/shm_world; \
55                cp source/motif/shm.uid source/motif/shm_world.uid; \
56                cp source/motif/shm_smfnt.uid source/motif/shm_world_smfnt.uid; \
57        fi
58
59
60
61# compiling
62
63sd_source:
64        cd source; make
65
66sd_foreign:
67        cd source/foreign; make
68
69sd_newgraph:
70        cd source/newgraph; make
71
72sd_seed_io:
73        cd source/seed_io; make
74
75sd_gcf:
76        cd source/gcf; make
77
78sd_util:
79        cd util; make
80
81sd_motif:
82        cd source/motif; make
83
84sd_img:
85        cd source/img; make
86
87
88
89# depend
90
91sd_source_d:
92        cd source; make depend
93
94sd_foreign_d:
95        cd source/foreign; make depend
96
97sd_newgraph_d:
98        cd source/newgraph; make depend
99
100sd_seed_io_d:
101        cd source/seed_io; make depend
102
103sd_gcf_d:
104        cd source/gcf; make depend
105
106sd_util_d:
107        cd util; make depend
108
109sd_motif_d:
110        cd source/motif; make depend
111
112sd_img_d:
113        cd source/img; make depend
114
115
116
117# clean
118
119sd_source_c:
120        cd source; make clean
121
122sd_foreign_c:
123        cd source/foreign; make clean
124
125sd_newgraph_c:
126        cd source/newgraph; make clean
127
128sd_seed_io_c:
129        cd source/seed_io; make clean
130
131sd_gcf_c:
132        cd source/gcf; make clean
133
134sd_util_c:
135        cd util; make clean
136
137sd_motif_c:
138        cd source/motif; make clean
139
140sd_img_c:
141        cd source/img; make clean
142
143# DO NOT DELETE THIS LINE -- make depend depends on it.
Note: See TracBrowser for help on using the repository browser.