File: Makefile

package info (click to toggle)
insighttoolkit 3.6.0-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 94,956 kB
  • ctags: 74,981
  • sloc: cpp: 355,621; ansic: 195,070; fortran: 28,713; python: 3,802; tcl: 1,996; sh: 1,175; java: 583; makefile: 415; csh: 184; perl: 175
file content (21 lines) | stat: -rw-r--r-- 614 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

TAR     ?= /bin/tar
RM      ?= /bin/rm

# get the regression testing data tree
regress_data: nifti_regress_test/nifti_regress_data

# remove any result directories
regress_clean:
	$(RM) -fr nifti_regress_test/results*

# remove any result directories, and remove the data tree
regress_clean_all: regress_clean
	$(RM) -fr nifti_regress_test/nifti_regress_data

# download and unpack the regression data tree
nifti_regress_test/nifti_regress_data:
	wget http://nifti.nimh.nih.gov/pub/dist/data/nifti_regress_data.tgz
	( cd nifti_regress_test; $(TAR) -xzf ../nifti_regress_data.tgz; )
	$(RM) nifti_regress_data.tgz