Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
04524009d1db8dd5640f907bf7308b19998317a1
[simgrid.git] / examples / smpi / NAS / Makefile
1 SHELL=/bin/sh
2 CLASS=S
3 NPROCS=1
4 SUBTYPE=
5 VERSION=
6 SFILE=config/suite.def
7
8 default: header
9         @ sys/print_instructions
10
11 IS: is
12 is: header
13         cd IS; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS)
14
15
16 EP: ep
17 ep: header
18         cd EP; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS)
19
20 EP-sampling: ep-sampling
21 ep-sampling: header
22         cd EP-sampling; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS)
23
24 DT: dt
25 dt: header
26         cd DT; $(MAKE) CLASS=$(CLASS)
27
28 # Awk script courtesy cmg@cray.com, modified by Haoqiang Jin
29 suite:
30         @ awk -f sys/suite.awk SMAKE=$(MAKE) $(SFILE) | $(SHELL)
31
32
33 # It would be nice to make clean in each subdirectory (the targets
34 # are defined) but on a really clean system this will won't work
35 # because those makefiles need config/make.def
36 clean:
37         - rm -f *~  */*~ */*.o */npbparams.h 
38         - rm -f sys/setparams sys/makesuite sys/setparams.h
39
40 veryclean: clean
41         - rm -f config/make.def config/suite.def 
42         - rm -f bin/is.* bin/ep.* bin/dt.*
43
44 header:
45         @ sys/print_header
46