Makefile 575 Bytes
Newer Older
Marco Govoni's avatar
Marco Govoni committed
1
2
3
4
5
6
7
8
9
# Makefile

include ../maketest.inc

default: title all

all: prepare_inputs run 

prepare_inputs: 
Marco Govoni's avatar
Marco Govoni committed
10
	bash prepare_inputs.sh
Marco Govoni's avatar
Marco Govoni committed
11
12

run: 
Marco Govoni's avatar
Marco Govoni committed
13
14
15
16
17
18
	${PARA_PREFIX} ${BINDIR}/pw.x -i pw.in > pw.out
	tail -5 pw.out
	${PARA_PREFIX} ${BINDIR}/wstat.x -nimage ${NIMAGE} -i wstat.in > wstat.out
	tail -5 wstat.out
	${PARA_PREFIX} ${BINDIR}/wfreq.x -nimage ${NIMAGE} -i wfreq.in > wfreq.out
	tail -5 wfreq.out
Marco Govoni's avatar
Marco Govoni committed
19
20
21
22
23
24
25
26
27
28

clean:
	- /bin/rm -rf *out *in *upf *save >& /dev/null

title:
	@echo "               "
	@echo "###############"
	@echo "### test002 ###"
	@echo "###############"
	@echo "               "