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
|
VERSION ?= 1.0.15
.PHONY: package
SUBDIRS=general bam fastq glf samtools vcf
include Makefiles/Makefile.base
clean:$(SUBDIRS)
rm -f $(STAT_GEN_LIB_OPT)
rm -f $(STAT_GEN_LIB_DEBUG)
rm -f $(STAT_GEN_LIB_PROFILE)
# general depends on samtools
general: samtools
# other subdirectories depend on general
bam fastq glf vcf: general
RELEASE_FILE?=libStatGen.$(VERSION).tgz
# Package the library.
package :
# the touch gets rid of a tar warning
touch $(RELEASE_FILE)
tar chvz --exclude="*~" --exclude=$(RELEASE_FILE) --exclude='obj/*' --exclude='*.a' --exclude='include/*' --exclude='bin/*' --exclude='test/results/*' --exclude-vcs -f $(RELEASE_FILE) --transform 's,^,libStatGen_$(VERSION)/,' * --show-transformed-names
|