File: makefile

package info (click to toggle)
pbseqlib 0~20161219-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,924 kB
  • ctags: 5,123
  • sloc: cpp: 82,727; makefile: 305; python: 239; sh: 8
file content (33 lines) | stat: -rw-r--r-- 841 bytes parent folder | download | duplicates (2)
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
SHELL=/bin/bash

THISDIR:=$(dir $(realpath $(lastword $(MAKEFILE_LIST))))

.PHONY: all libpbdata libhdf libblasr gtest clean cleanall

all:
	${MAKE} libpbdata
	${MAKE} libpbihdf
	${MAKE} libblasr
all-debug:
	${MAKE} CXXFLAGS=-g all
all-opt:
	${MAKE} CXXFLAGS=-O3 all
all-depend:
	${MAKE} -C ${THISDIR}/pbdata depend
libpbdata:
	${MAKE} -C ${THISDIR}/pbdata libconfig.h
	${MAKE} -C ${THISDIR}/pbdata all
libpbihdf:
	${MAKE} -C ${THISDIR}/hdf all
libblasr:
	${MAKE} -C ${THISDIR}/alignment all
install-includes: # Into ${BLASR_INC}, e.g. ${PREFIX}/include/blasr/
	rsync -a --files-from=${THISDIR}/exports ${THISDIR} ${BLASR_INC}
gtest:
	${MAKE} -C ${THISDIR}/unittest gtest
clean:
	${MAKE} -C ${THISDIR}/pbdata clean
	${MAKE} -C ${THISDIR}/hdf clean
	${MAKE} -C ${THISDIR}/alignment clean
	${MAKE} -C ${THISDIR}/unittest clean
cleanall: clean