Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
have the two versions of EP together
[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 DT: dt
21 dt: header
22         cd DT; $(MAKE) CLASS=$(CLASS)
23
24 # Awk script courtesy cmg@cray.com, modified by Haoqiang Jin
25 suite:
26         @ awk -f sys/suite.awk SMAKE=$(MAKE) $(SFILE) | $(SHELL)
27
28
29 # It would be nice to make clean in each subdirectory (the targets
30 # are defined) but on a really clean system this will won't work
31 # because those makefiles need config/make.def
32 clean:
33         - rm -f *~  */*~ */*.o */npbparams.h 
34         - rm -f sys/setparams sys/makesuite sys/setparams.h
35
36 veryclean: clean
37         - rm -f config/make.def config/suite.def 
38         - rm -f bin/is.* bin/ep.* bin/dt.*
39
40 header:
41         @ sys/print_header
42