File: makefile

package info (click to toggle)
pbseqlib 5.3.1%2Bdfsg-2.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,136 kB
  • sloc: cpp: 77,246; python: 570; makefile: 312; sh: 111; ansic: 9
file content (33 lines) | stat: -rw-r--r-- 846 bytes parent folder | download
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 LibBlasrConfig.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