-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile
52 lines (42 loc) · 1.43 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
49
50
51
all: simulator stator symlinks
PERL_LIST = stator/baseCallingMatrix/baseCalling_Matrix_analyzer \
stator/baseCallingMatrix/baseCalling_Matrix_calculator \
stator/baseCallingMatrix/baseCalling_Matrix_merger \
stator/alignment_stator \
stator/indelstat_sam_bam \
stator/gcContCvgBias/gc_coverage_bias_plot
simulator:
cd ./src/pirs && ${MAKE} -f gccMakefile
stator:
cd ./src/stator/gcContCvgBias && ${MAKE}
symlinks:
-@ln -s ./src/pirs/pirs 2> /dev/null
-@ln -s ./src/stator/gcContCvgBias/gc_coverage_bias 2> /dev/null
-@ln -s ./src/stator/alignment_stator.pl alignment_stator 2> /dev/null
-@for P in ${PERL_LIST}; do \
ln -s ./src/$${P}.pl `basename $${P}` 2> /dev/null; \
done
test: all
cd ./src/pirs && ${MAKE} -f gccMakefile test
cd ./src/stator/gcContCvgBias && ${MAKE} test
distclean:
cd ./src/pirs && ${MAKE} -f gccMakefile distclean
cd ./src/stator/gcContCvgBias && ${MAKE} distclean
-rm pIRS_*.tgz
tDATE := $(shell date +%Y%m%d)
tTIME := $(shell date +%H%M%S)
dist: all distclean
@echo "Packing pIRS_$(tDATE).tar.gz ..."
@tar -czf /var/tmp/pIRS_$(tDATE)_$(tTIME).tgz --exclude '.git*' .
@mv /var/tmp/pIRS_$(tDATE)_$(tTIME).tgz ./pIRS_$(tDATE).tgz
clean: distclean
cd ./src/pirs && ${MAKE} -f gccMakefile clean
cd ./src/stator/gcContCvgBias && ${MAKE} clean
-rm pirs gc_coverage_bias
-@for P in ${PERL_LIST}; do \
rm `basename $${P}`; \
done
.PHONY push:
git push github master
git push
git push google master