This repository has been archived by the owner on Oct 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.m4
66 lines (51 loc) · 2 KB
/
Makefile.m4
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# clipper makefike
include(config.status)
library: $(MKLIBS)
lib-core:
cd clipper/core; $(MAKE); cd ../..
lib-mmdb:
cd clipper/mmdb; $(MAKE); cd ../..
lib-contrib:
cd clipper/contrib; $(MAKE); cd ../..
lib-minimol:
cd clipper/minimol; $(MAKE); cd ../..
lib-phs:
cd clipper/phs; $(MAKE); cd ../..
lib-cif:
cd clipper/cif; $(MAKE); cd ../..
lib-ccp4:
cd clipper/ccp4; $(MAKE); cd ../..
lib-cctbx:
cd clipper/cctbx; $(MAKE); cd ../..
lib-mmdbold:
cd clipper/mmdbold; $(MAKE); cd ../..
install: library
-mkdir ${CLPR}/lib;
-mkdir ${CLPR}/`include';
-mkdir ${CLPR}/`include'/clipper;
-mkdir ${CLPR}/`include'/clipper/core;
-mkdir ${CLPR}/`include'/clipper/mmdb;
-mkdir ${CLPR}/`include'/clipper/contrib;
-mkdir ${CLPR}/`include'/clipper/minimol;
-mkdir ${CLPR}/`include'/clipper/phs;
-mkdir ${CLPR}/`include'/clipper/cif;
-mkdir ${CLPR}/`include'/clipper/ccp4;
-mkdir ${CLPR}/`include'/clipper/cctbx;
-mkdir ${CLPR}/`include'/clipper/mmdbold;
cp clipper/*/*.a ${CLPR}/lib/;
cp clipper/*.h ${CLPR}/`include'/clipper/;
cp clipper/core/*.h ${CLPR}/`include'/clipper/core/;
cp clipper/mmdb/*.h ${CLPR}/`include'/clipper/mmdb/;
cp clipper/contrib/*.h ${CLPR}/`include'/clipper/contrib/;
cp clipper/minimol/*.h ${CLPR}/`include'/clipper/minimol/;
cp clipper/phs/*.h ${CLPR}/`include'/clipper/phs/;
cp clipper/cif/*.h ${CLPR}/`include'/clipper/cif/;
cp clipper/ccp4/*.h ${CLPR}/`include'/clipper/ccp4/;
cp clipper/cctbx/*.h ${CLPR}/`include'/clipper/cctbx/;
cp clipper/mmdbold/*.h ${CLPR}/`include'/clipper/mmdbold/;
examples: install
cd examples; $(MAKE); cd ..
clean:
cd clipper; cd core; $(MAKE) clean; cd ../mmdb; $(MAKE) clean; cd ../contrib; $(MAKE) clean; cd ../minimol; $(MAKE) clean; cd ../phs; $(MAKE) clean; cd ../cif; $(MAKE) clean; cd ../ccp4; $(MAKE) clean; cd ../cctbx; $(MAKE) clean; cd ../mmdbold; $(MAKE) clean; cd ../../examples; $(MAKE) clean; cd ..
realclean: clean
rm clipper/*/Makefile examples/Makefile Makefile