forked from nextgenusfs/augustus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
48 lines (42 loc) · 1.5 KB
/
Makefile
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
#
# Makefile for Augustus
#
include common.mk
all:
mkdir -p bin
cd src && ${MAKE} CC=$(CC) CXX=$(CXX)
cd auxprogs && ${MAKE} CC=$(BAMTOOLS_CC) CXX=$(BAMTOOLS_CXX) BAMTOOLS=$(BAMTOOLS)
clean:
cd src && ${MAKE} clean
cd auxprogs && ${MAKE} clean
INSTALLDIR = /opt/augustus-$(AUGVERSION)
install:
install -d $(INSTALLDIR)
cp -a config bin scripts $(INSTALLDIR)
ln -sf $(INSTALLDIR)/bin/augustus /usr/local/bin/augustus
ln -sf $(INSTALLDIR)/bin/etraining /usr/local/bin/etraining
ln -sf $(INSTALLDIR)/bin/prepareAlign /usr/local/bin/prepareAlign
ln -sf $(INSTALLDIR)/bin/fastBlockSearch /usr/local/bin/fastBlockSearch
ln -sf $(INSTALLDIR)/bin/load2db /usr/local/bin/load2db
ln -sf $(INSTALLDIR)/bin/getSeq /usr/local/bin/getSeq
# for internal purposes:
release:
find . -name .svn | xargs rm -rf
find . -name "*~" | xargs rm -f
rm -f src/.kdbgrc*
rm -f src/makedepend.pl
rm -r augustus-training
make clean all
make clean
cd auxprogs/filterBam/; make clean all; cd -
cd auxprogs/bam2hints; make clean; make ; cd -
cd auxprogs/aln2wig; make clean; make; cd -
cd auxprogs/homGeneMapping; make clean; make; cd -
cd auxprogs/joingenes; make clean; make; cd -
cd auxprogs/compileSpliceCands; make clean; make; cd -
cd config/species; rm -rf tobacco xeno1 bombus_terrestris{1,3} symsag xenoturbella meara pavar newest humannew
tar -czf ../augustus-$(AUGVERSION).tar.gz .
cd src/parser; rm Makefile; cd -
cd src/scanner; rm Makefile; cd -
# remove -static from src/Makefile for MAC users
# remove -g -gdb from CFLAGS