Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
I'm psychotic
[simgrid.git] / examples / smpi / NAS / Makefile
1 SHELL=/bin/sh
2 CLASS=S
3 NPROCS=1
4 SUBTYPE=
5 VERSION=
6
7 default: header
8         @ sys/print_instructions
9
10 IS: is
11 is: header
12         cd IS; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS)
13
14
15 EP: ep
16 ep: header
17         cd EP; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS)
18
19 DT: dt
20 dt: header
21         cd DT; $(MAKE) CLASS=$(CLASS)
22
23 # It would be nice to make clean in each subdirectory (the targets
24 # are defined) but on a really clean system this will won't work
25 # because those makefiles need config/make.def
26 clean:
27         - rm -f *~  */*~ */*.o */npbparams.h 
28         - rm -f sys/setparams sys/setparams.h
29
30 veryclean: clean
31         - rm -f config/make.def  
32         - rm -f bin/is.* bin/ep.* bin/dt.*
33
34 header:
35         @ sys/print_header