-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
35 lines (26 loc) · 877 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
TOP = ${PWD}
include Make.inc
################################
# Makefile for nuTRLan library
################################
lib:
(cd ./SRC; $(MAKE) TOP="$(TOP)" lib_serial)
plib:
(cd ./SRC; $(MAKE) TOP="$(TOP)" lib_parallel)
blib:
(cd ./SRC; $(MAKE) TOP="$(TOP)" lib_serial; cd ../CBLAS; $(MAKE) TOP="$(TOP)" all )
pblib:
(cd ./SRC; $(MAKE) TOP="$(TOP)" lib_parallel; cd ../CBLAS; $(MAKE) TOP="$(TOP)" all )
ftrlan:
(cd ./FORTRAN; $(MAKE) TOP="$(TOP)" all; cd ../SRC; $(MAKE) TOP="$(TOP)" fortran)
simple: lib
cd examples && $(MAKE) TOP="$(TOP)" simple
psimple: plib
cd examples && $(MAKE) TOP="$(TOP)" psimple
clean:
rm -f $(NUTRLAN)
cd SRC && $(MAKE) TOP="$(TOP)" clean
cd CBLAS && $(MAKE) TOP="$(TOP)" clean
cd examples && $(MAKE) TOP="$(TOP)" clean
cd FORTRAN && $(MAKE) TOP="$(TOP)" clean
.PHONY: lib plib blib pblib ftrlan simple psimple clean