forked from guigolab/geneid
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.oracle_cc
207 lines (146 loc) · 7.96 KB
/
Makefile.oracle_cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
#
# This file is part of the geneid distribution
# (c) by Roderic Guigo and Enrique Blanco, 2003
#
# Makefile for geneid
#
INCLUDE= ./include
CDIR= ./src
OBJ = ./objects
BIN = ./bin
HEADERS = $(INCLUDE)/geneid.h
PROGRAM= geneid
PRODUCT= $(BIN)/$(PROGRAM)
#Oracle Solaris Studio options
# tested with:
#cc: Studio 12.6 Sun C 5.15 Linux_i386 2017/05/30
#Manjaro 18.1
CC=cc
OPTS=-I$(INCLUDE) -std=c11 -m64 -v -traceback=common -errshort=full -g3
#debug compile
#OPTS=-I$(INCLUDE) -std=c11 -m64 -v -errshort=full -g3
#-std=c11 -xanalyze=code -xc99=all -xO3
#OPTS=-I$(INCLUDE) -ansi
#all:$(PROGRAM)
#######
OBJECTS = $(OBJ)/BackupGenes.o $(OBJ)/PeakEdgeScore.o $(OBJ)/GetTranscriptTermini-usingslopes.o $(OBJ)/BuildAcceptors.o $(OBJ)/BuildU12Acceptors.o $(OBJ)/BuildDonors.o \
$(OBJ)/BuildInitialExons.o $(OBJ)/BuildInternalExons.o $(OBJ)/BuildZeroLengthExons.o $(OBJ)/BuildUTRExons.o\
$(OBJ)/BuildORFs.o $(OBJ)/BuildSingles.o $(OBJ)/BuildSort.o $(OBJ)/BuildTerminalExons.o \
$(OBJ)/ComputeStopInfo.o $(OBJ)/CookingGenes.o $(OBJ)/CorrectExon.o \
$(OBJ)/Dictionary.o $(OBJ)/DumpHash.o $(OBJ)/FetchSequence.o \
$(OBJ)/GetSitesWithProfile.o $(OBJ)/GetStopCodons.o $(OBJ)/Output.o \
$(OBJ)/PrintExons.o $(OBJ)/PrintSites.o $(OBJ)/ReadExonsGFF.o \
$(OBJ)/ReadGeneModel.o $(OBJ)/ReadSequence.o $(OBJ)/ReadHSP.o $(OBJ)/RecomputePositions.o \
$(OBJ)/RequestMemory.o $(OBJ)/ProcessHSPs.o $(OBJ)/ScoreExons.o $(OBJ)/SearchEvidenceExons.o \
$(OBJ)/SetRatios.o $(OBJ)/SortExons.o $(OBJ)/SortSites.o $(OBJ)/SortHSPs.o $(OBJ)/SwitchFrames.o \
$(OBJ)/SwitchPositions.o $(OBJ)/Translate.o \
$(OBJ)/account.o $(OBJ)/beggar.o $(OBJ)/genamic.o $(OBJ)/manager.o \
$(OBJ)/readparam.o $(OBJ)/readargv.o \
#######
$(PRODUCT): $(BIN) $(OBJ) $(OBJ)/$(PROGRAM).o $(OBJECTS) $(HEADERS)
$(CC) $(OPTS) -o $(PRODUCT) $(OBJ)/$(PROGRAM).o $(OBJECTS) -lm
$(BIN) :
mkdir $(BIN);
$(OBJ) :
mkdir $(OBJ);
$(OBJ)/$(PROGRAM).o : $(CDIR)/$(PROGRAM).c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/$(PROGRAM).c -o $(OBJ)/$(PROGRAM).o
$(OBJ)/account.o : $(CDIR)/account.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/account.c -o $(OBJ)/account.o
$(OBJ)/beggar.o : $(CDIR)/beggar.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/beggar.c -o $(OBJ)/beggar.o
$(OBJ)/genamic.o : $(CDIR)/genamic.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/genamic.c -o $(OBJ)/genamic.o
$(OBJ)/manager.o : $(CDIR)/manager.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/manager.c -o $(OBJ)/manager.o
$(OBJ)/readargv.o : $(CDIR)/readargv.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/readargv.c -o $(OBJ)/readargv.o
$(OBJ)/readparam.o : $(CDIR)/readparam.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/readparam.c -o $(OBJ)/readparam.o
$(OBJ)/BackupGenes.o : $(CDIR)/BackupGenes.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/BackupGenes.c -o $(OBJ)/BackupGenes.o
$(OBJ)/GetTranscriptTermini-usingslopes.o : $(CDIR)/GetTranscriptTermini-usingslopes.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/GetTranscriptTermini-usingslopes.c -o $(OBJ)/GetTranscriptTermini-usingslopes.o
$(OBJ)/BuildAcceptors.o : $(CDIR)/BuildAcceptors.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/BuildAcceptors.c -o $(OBJ)/BuildAcceptors.o
$(OBJ)/BuildU12Acceptors.o : $(CDIR)/BuildU12Acceptors.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/BuildU12Acceptors.c -o $(OBJ)/BuildU12Acceptors.o
$(OBJ)/BuildDonors.o : $(CDIR)/BuildDonors.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/BuildDonors.c -o $(OBJ)/BuildDonors.o
#$(OBJ)/BuildU12Donors.o : $(CDIR)/BuildU12Donors.c $(HEADERS)
# $(CC) -c $(OPTS) $(CDIR)/BuildU12Donors.c -o $(OBJ)/BuildU12Donors.o
$(OBJ)/BuildInitialExons.o : $(CDIR)/BuildInitialExons.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/BuildInitialExons.c -o $(OBJ)/BuildInitialExons.o
$(OBJ)/BuildInternalExons.o : $(CDIR)/BuildInternalExons.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/BuildInternalExons.c -o $(OBJ)/BuildInternalExons.o
$(OBJ)/BuildZeroLengthExons.o : $(CDIR)/BuildZeroLengthExons.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/BuildZeroLengthExons.c -o $(OBJ)/BuildZeroLengthExons.o
$(OBJ)/BuildUTRExons.o : $(CDIR)/BuildUTRExons.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/BuildUTRExons.c -o $(OBJ)/BuildUTRExons.o
$(OBJ)/BuildORFs.o : $(CDIR)/BuildORFs.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/BuildORFs.c -o $(OBJ)/BuildORFs.o
$(OBJ)/BuildSingles.o : $(CDIR)/BuildSingles.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/BuildSingles.c -o $(OBJ)/BuildSingles.o
$(OBJ)/BuildSort.o: $(CDIR)/BuildSort.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/BuildSort.c -o $(OBJ)/BuildSort.o
$(OBJ)/BuildTerminalExons.o : $(CDIR)/BuildTerminalExons.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/BuildTerminalExons.c -o $(OBJ)/BuildTerminalExons.o
$(OBJ)/ComputeStopInfo.o : $(CDIR)/ComputeStopInfo.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/ComputeStopInfo.c -o $(OBJ)/ComputeStopInfo.o
$(OBJ)/CookingGenes.o: $(CDIR)/CookingGenes.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/CookingGenes.c -o $(OBJ)/CookingGenes.o
$(OBJ)/CorrectExon.o : $(CDIR)/CorrectExon.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/CorrectExon.c -o $(OBJ)/CorrectExon.o
$(OBJ)/Dictionary.o: $(CDIR)/Dictionary.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/Dictionary.c -o $(OBJ)/Dictionary.o
$(OBJ)/DumpHash.o: $(CDIR)/DumpHash.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/DumpHash.c -o $(OBJ)/DumpHash.o
$(OBJ)/FetchSequence.o : $(CDIR)/FetchSequence.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/FetchSequence.c -o $(OBJ)/FetchSequence.o
$(OBJ)/GetSitesWithProfile.o : $(CDIR)/GetSitesWithProfile.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/GetSitesWithProfile.c -o $(OBJ)/GetSitesWithProfile.o
$(OBJ)/GetStopCodons.o : $(CDIR)/GetStopCodons.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/GetStopCodons.c -o $(OBJ)/GetStopCodons.o
$(OBJ)/Output.o: $(CDIR)/Output.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/Output.c -o $(OBJ)/Output.o
$(OBJ)/PeakEdgeScore.o : $(CDIR)/PeakEdgeScore.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/PeakEdgeScore.c -o $(OBJ)/PeakEdgeScore.o
$(OBJ)/PrintExons.o : $(CDIR)/PrintExons.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/PrintExons.c -o $(OBJ)/PrintExons.o
$(OBJ)/PrintSites.o : $(CDIR)/PrintSites.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/PrintSites.c -o $(OBJ)/PrintSites.o
$(OBJ)/ProcessHSPs.o : $(CDIR)/ProcessHSPs.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/ProcessHSPs.c -o $(OBJ)/ProcessHSPs.o
$(OBJ)/ReadGeneModel.o: $(CDIR)/ReadGeneModel.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/ReadGeneModel.c -o $(OBJ)/ReadGeneModel.o
$(OBJ)/ReadExonsGFF.o : $(CDIR)/ReadExonsGFF.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/ReadExonsGFF.c -o $(OBJ)/ReadExonsGFF.o
$(OBJ)/ReadSequence.o : $(CDIR)/ReadSequence.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/ReadSequence.c -o $(OBJ)/ReadSequence.o
$(OBJ)/ReadHSP.o : $(CDIR)/ReadHSP.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/ReadHSP.c -o $(OBJ)/ReadHSP.o
$(OBJ)/RecomputePositions.o : $(CDIR)/RecomputePositions.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/RecomputePositions.c -o $(OBJ)/RecomputePositions.o
$(OBJ)/RequestMemory.o : $(CDIR)/RequestMemory.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/RequestMemory.c -o $(OBJ)/RequestMemory.o
$(OBJ)/ScoreExons.o : $(CDIR)/ScoreExons.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/ScoreExons.c -o $(OBJ)/ScoreExons.o
$(OBJ)/SearchEvidenceExons.o : $(CDIR)/SearchEvidenceExons.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/SearchEvidenceExons.c -o $(OBJ)/SearchEvidenceExons.o
$(OBJ)/SetRatios.o : $(CDIR)/SetRatios.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/SetRatios.c -o $(OBJ)/SetRatios.o
$(OBJ)/SortExons.o : $(CDIR)/SortExons.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/SortExons.c -o $(OBJ)/SortExons.o
$(OBJ)/SortSites.o : $(CDIR)/SortSites.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/SortSites.c -o $(OBJ)/SortSites.o
$(OBJ)/SortHSPs.o : $(CDIR)/SortHSPs.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/SortHSPs.c -o $(OBJ)/SortHSPs.o
$(OBJ)/SwitchFrames.o : $(CDIR)/SwitchFrames.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/SwitchFrames.c -o $(OBJ)/SwitchFrames.o
$(OBJ)/SwitchPositions.o : $(CDIR)/SwitchPositions.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/SwitchPositions.c -o $(OBJ)/SwitchPositions.o
$(OBJ)/Translate.o : $(CDIR)/Translate.c $(HEADERS)
$(CC) -c $(OPTS) $(CDIR)/Translate.c -o $(OBJ)/Translate.o
clean:
rm -f $(OBJ)/*.o $(PRODUCT) *~ $(INCLUDE)/*~ $(CDIR)/*~ core;
rmdir $(BIN) $(OBJ);