File: Makefile

package info (click to toggle)
espresso 6.7-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 311,068 kB
  • sloc: f90: 447,429; ansic: 52,566; sh: 40,631; xml: 37,561; tcl: 20,077; lisp: 5,923; makefile: 4,503; python: 4,379; perl: 1,219; cpp: 761; fortran: 618; java: 568; awk: 128
file content (63 lines) | stat: -rw-r--r-- 1,739 bytes parent folder | download | duplicates (3)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Makefile for DAVID

include ../../make.inc

# location of needed modules and included files (if any)
MODFLAGS=$(MOD_FLAG). $(MOD_FLAG)../

DFLAGS=$$DFLAGMATRIX
LDFLAGS:=$(LDFLAGS) $(DFLAGS)

SRCS = test_mp_count_nodes.f90 \
       test_mp_bcast_i1.f90 \
       test_mp_bcast_i1_gpu.f90 \
       test_mp_bcast_iv.f90 \
       test_mp_bcast_iv_gpu.f90 \
       test_mp_bcast_im.f90 \
       test_mp_bcast_im_gpu.f90 \
       test_mp_bcast_it.f90 \
       test_mp_bcast_it_gpu.f90 \
       test_mp_bcast_i4d_gpu.f90 \
       test_mp_bcast_r4d_gpu.f90 \
       test_mp_bcast_c4d_gpu.f90 \
       test_mp_bcast_c5d_gpu.f90 \
       test_mp_bcast_r5d_gpu.f90 \
       test_mp_bcast_c6d_gpu.f90 \
       test_mp_bcast_iv_buffer.f90 \
       test_mp_bcast_iv_buffer_gpu.f90 \
       test_mp_bcast_lv_buffer.f90 \
       test_mp_bcast_lv_buffer_gpu.f90 \
       test_mp_bcast_rv_buffer.f90 \
       test_mp_bcast_rv_buffer_gpu.f90 \
       test_mp_max_iv_buffer_gpu.f90 \
       test_mp_max_iv_buffer.f90 \
       test_mp_max_rv_buffer.f90 \
       test_mp_max_rv_buffer_gpu.f90 \
       test_mp_min_iv_buffer_gpu.f90 \
       test_mp_min_iv_buffer.f90 \
       test_mp_min_rv_buffer.f90 \
       test_mp_min_rv_buffer_gpu.f90 \
       test_mp_sum_iv_buffer.f90 \
       test_mp_sum_rv_buffer.f90 \
       test_mp_sum_iv_buffer_gpu.f90 \
       test_mp_sum_rv_buffer_gpu.f90

# include auto generate source files. This will only work with GNU Make!
sinclude ./autotest.inc

EXECS = $(SRCS:.f90=.x)

all: common $(EXECS)

generate:
	python gen_tests.py

common: tester.o mp_world.o utils.o

%.x: %.o
	$(LD) $(LDFLAGS) $< tester.o mp_world.o utils.o -o $@ ../libutil.a


clean :
	- /bin/rm -f *.o *.a *.d *.i *~ *_tmp.f90 *.mod *.L *.x rnd_seed_*