-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (24 loc) · 745 Bytes
/
Copy pathMakefile
File metadata and controls
35 lines (24 loc) · 745 Bytes
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
SUBDIRS = libip ivs aftervoxel cppmisc spineseg
CP = /bin/cp -f
RM = /bin/rm -f
INSTALL = /usr/bin/install
SHELL = /bin/bash
all: $(SUBDIRS) copybin
.PHONY: subdirs $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@
copybin:
$(INSTALL) -d bin
$(INSTALL) ivs/{ivs,dicom2scn,ana2scn,scn2ana,scntool,scncomp} bin
$(INSTALL) aftervoxel/aftervoxel bin
$(INSTALL) cppmisc/{splitmri,greg,braintag,t2comp} bin
$(INSTALL) spineseg/spineseg bin
$(INSTALL) -d bin/doc
$(INSTALL) spineseg/man/*.1 bin/doc
$(INSTALL) ivs/man/*.{1,5} bin/doc
clean:
for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir clean ; done
$(RM) bin/{ivs,dicom2scn,ana2scn,scn2ana,scntool,scncomp}
$(RM) bin/{aftervoxel}
$(RM) bin/{splitmri,greg,braintag,t2comp}
$(RM) bin/spineseg