2006-09-28 03:51:49 +08:00
|
|
|
# Makefile for serial tools
|
|
|
|
|
|
|
|
#
|
|
|
|
# Targets
|
|
|
|
#
|
|
|
|
|
|
|
|
all:
|
2007-06-23 01:23:42 +08:00
|
|
|
$(MAKE) binary2txt restart2data chain micelle2d data2xmovie
|
2006-09-28 03:51:49 +08:00
|
|
|
|
|
|
|
binary2txt: binary2txt.o
|
|
|
|
g++ -g binary2txt.o -o binary2txt
|
|
|
|
|
|
|
|
chain: chain.o
|
|
|
|
ifort chain.o -o chain
|
|
|
|
|
|
|
|
micelle2d: micelle2d.o
|
|
|
|
ifort micelle2d.o -o micelle2d
|
|
|
|
|
|
|
|
data2xmovie: data2xmovie.o
|
|
|
|
g++ -g data2xmovie.o -o data2xmovie
|
|
|
|
|
2007-02-23 03:57:04 +08:00
|
|
|
thermo_extract: thermo_extract.o
|
|
|
|
gcc -g thermo_extract.o -o thermo_extract
|
|
|
|
|
2006-09-28 03:51:49 +08:00
|
|
|
clean:
|
2007-06-23 01:23:42 +08:00
|
|
|
rm binary2txt restart2data chain micelle2d data2xmovie
|
2007-02-23 03:57:04 +08:00
|
|
|
rm thermo_extract
|
2006-09-28 03:51:49 +08:00
|
|
|
rm *.o
|
|
|
|
|
|
|
|
#
|
|
|
|
# Rules
|
|
|
|
#
|
|
|
|
|
|
|
|
.cpp.o:
|
|
|
|
g++ -g -c $<
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
gcc -g -c $<
|
|
|
|
|
|
|
|
.f.o:
|
|
|
|
ifort -O -w -c $<
|