#
source:
SH_SHM/trunk/Makefile
@
308

Revision 16, 2.1 KB checked in by marcus, 15 years ago (diff) |
---|

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 |

11 | S_DEPEND_ALL = sd_source |

12 | S_DEPEND_DEPEND = sd_source_d sd_foreign_d sd_newgraph_d sd_seed_io_d \ |

13 | sd_gcf_d sd_util_d |

14 | S_DEPEND_CLEAN = sd_source_c |

15 | # including SHM |

16 | F_DEPEND_ALL = sd_source sd_motif sd_img |

17 | F_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 |

19 | F_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 | # |

26 | DEPEND_ALL = $(S_DEPEND_ALL) |

27 | DEPEND_DEPEND = $(S_DEPEND_DEPEND) |

28 | DEPEND_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 | |

38 | all: $(DEPEND_ALL) |

39 | |

40 | depend: $(DEPEND_DEPEND) |

41 | |

42 | clean: $(DEPEND_CLEAN) |

43 | |

44 | shm: $(F_DEPEND_ALL) |

45 | |

46 | depend_shm: $(F_DEPEND_DEPEND) |

47 | |

48 | clean_shm: $(F_DEPEND_CLEAN) |

49 | |

50 | world: |

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 | |

63 | sd_source: |

64 | cd source; make |

65 | |

66 | sd_foreign: |

67 | cd source/foreign; make |

68 | |

69 | sd_newgraph: |

70 | cd source/newgraph; make |

71 | |

72 | sd_seed_io: |

73 | cd source/seed_io; make |

74 | |

75 | sd_gcf: |

76 | cd source/gcf; make |

77 | |

78 | sd_util: |

79 | cd util; make |

80 | |

81 | sd_motif: |

82 | cd source/motif; make |

83 | |

84 | sd_img: |

85 | cd source/img; make |

86 | |

87 | |

88 | |

89 | # depend |

90 | |

91 | sd_source_d: |

92 | cd source; make depend |

93 | |

94 | sd_foreign_d: |

95 | cd source/foreign; make depend |

96 | |

97 | sd_newgraph_d: |

98 | cd source/newgraph; make depend |

99 | |

100 | sd_seed_io_d: |

101 | cd source/seed_io; make depend |

102 | |

103 | sd_gcf_d: |

104 | cd source/gcf; make depend |

105 | |

106 | sd_util_d: |

107 | cd util; make depend |

108 | |

109 | sd_motif_d: |

110 | cd source/motif; make depend |

111 | |

112 | sd_img_d: |

113 | cd source/img; make depend |

114 | |

115 | |

116 | |

117 | # clean |

118 | |

119 | sd_source_c: |

120 | cd source; make clean |

121 | |

122 | sd_foreign_c: |

123 | cd source/foreign; make clean |

124 | |

125 | sd_newgraph_c: |

126 | cd source/newgraph; make clean |

127 | |

128 | sd_seed_io_c: |

129 | cd source/seed_io; make clean |

130 | |

131 | sd_gcf_c: |

132 | cd source/gcf; make clean |

133 | |

134 | sd_util_c: |

135 | cd util; make clean |

136 | |

137 | sd_motif_c: |

138 | cd source/motif; make clean |

139 | |

140 | sd_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.