-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
61 lines (44 loc) · 1.3 KB
/
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
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
include Makefile.inc
DIRS= tools
run: ellipmd
time bin/run.sh $(CONFIG)
ellipmd: *.cc include/*.h
$(CC) main.cc $(FLAGS) -o ellipmd
condor_ellipmd: *.cc include/*.h
$(CC) main.cc /usr/lib64/gcc/x86_64-suse-linux/4.3/libstdc++.a -Wall $(LDFLAGS) $(DEBUGFLAGS) -o condor_ellipmd
update:
git pull origin master
tools:
$(MAKE) -C tools
test:
plot.sh 1:2 log_energy trash/log_energy
#$(CC) test.cc -I/sw/include/ -L/sw/lib/ -lgsl -lgslcblas
diff:
diff log_energy trash/log_energy
perf:
plot.sh 1:2 log trash/log
animate: test.avi
#mplayer -loop 0 test.avi
feh *jpg
test.avi:
sh bin/genFrames.sh out0* > /dev/null 2>&1
movie:
mencoder mf://*.jpg -mf fps=15:type=jpg -ovc lavc -ffourcc XVID -nosound -o out.avi
clean:
rm -f log_energy log out0* *jpg test.avi
#$(ECHO) cleaning up in .
#-$(RM) -f $(EXE) $(OBJS) $(OBJLIBS)
#-for d in $(DIRS); do (cd $$d; $(MAKE) clean ); done
mv:
mv -f trash/* trash2/ &> /dev/null
mv -f log_energy log out* *jpg test.avi trash &> /dev/null
aclean:
rm -rf test.avi
pov:
bin/coord_convert -p $(FILE) > out.dat && bin/coord2pov out.dat > out.pov && povray -A0.05 Antialias_Threshold=20 -w900 -h900 out.pov
zip:
zip md.zip *.cc *h Makefile genFrames.sh run.sh config
sync:
rsync -ravz grace.cii.fc.ul.pt:workstation/MD/results/ results/
force_look :
true