2c7d793e8486dd9fb48a345aa764259174222012
[charm.git] / examples / bigsim / tools / rewritelog / Makefile
1 CHARMC=../../../../bin/charmc $(OPTS) -g
2
3 INCS=-I/SW/include -I.
4 LIBS=-lgsl -lgslcblas -lm -L/sw/lib
5
6 interpolatelog: interpolatelog.o EventInterpolator.o
7         $(CHARMC) -seq -o interpolatelog interpolatelog.o EventInterpolator.o -lconv-bigsim-logs -lconv-util -lblue-standalone -language c++  $(LIBS)
8
9 interpolatelog.o: interpolatelog.C
10         $(CHARMC) -seq -c interpolatelog.C $(INCS)
11
12 EventInterpolator.o: EventInterpolator.C
13         $(CHARMC) -c EventInterpolator.C $(INCS)
14
15 rewritelog: rewritelog.o
16         $(CHARMC) -seq -o rewritelog rewritelog.o -lconv-bigsim-logs -lconv-util -lblue-standalone -language c++
17
18 rewritelog.o: rewritelog.C
19         $(CHARMC) -seq -c rewritelog.C
20
21 clean:
22         rm -f *.o *~ moduleinit.C charmrun conv-host rewritelog
23         rm -rf *.decl.h *.def.h core *.log newtraces interpolatelog
24
25 test: rewritelog
26         ./rewritelog < sample-input