-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
33 lines (28 loc) · 970 Bytes
/
Makefile
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
INTELC_VERSION = `icpc -dumpversion`
MACHINE = `uname -m`
VERSION = `cat VERSION`
SCIFT_HOME = /home/nestor/Develop/scift
all:
cd src; make; cd ..
cd utils/libmsym/; make; cd ../../
clean:
cd src; make clean; cd ..
cd utils/libmsym/; make clean; cd ../../
# doc: doxyfile src/libscift.a
# doxygen doxyfile
binary:
mkdir M3C-v${VERSION}
mkdir M3C-v${VERSION}/doc
cp README M3C-v${VERSION}/
cp NEWS M3C-v${VERSION}/
cp M3Cvars.sh M3C-v${VERSION}/
cp doc/tutorial/tutorial-*.pdf M3C-v${VERSION}/doc/
# cp -r examples M3C-v${VERSION}
mkdir M3C-v${VERSION}/utils
find utils/ -maxdepth 1 -type f -exec cp {} M3C-v${VERSION}/utils \;
mkdir M3C-v${VERSION}/bin
find src -type f -executable -exec cp {} M3C-v${VERSION}/bin \;
find ${SCIFT_HOME}/examples/ -name "molecule.*" -type f -executable -exec cp {} M3C-v${VERSION}/bin \;
sleep 10s
tar cvfz M3C-v${VERSION}-intelc-${INTELC_VERSION}-${MACHINE}.tar.gz M3C-v${VERSION}
rm -rf M3C-v${VERSION}