File: Makefile.examples.in

package info (click to toggle)
plplot 5.14.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 30,424 kB
  • sloc: ansic: 79,613; xml: 28,583; cpp: 20,037; ada: 19,456; tcl: 12,081; f90: 11,423; ml: 7,276; java: 6,863; python: 6,792; sh: 3,185; perl: 828; lisp: 75; makefile: 48; sed: 33; fortran: 5
file content (83 lines) | stat: -rw-r--r-- 2,518 bytes parent folder | download
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# examples/fortran/Makefile.examples.in for PLplot
###
### Configure this file with CMake to produce Makefile.examples
###
# Copyright (C) 2002-2016  Alan W. Irwin
# Copyright (C) 2004  Rafael Laboissiere
# Copyright (C) 2004  Andrew Ross
#
# This file is part of PLplot.
#
# PLplot is free software; you can redistribute it and/or modify
# it under the terms of the GNU Library General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# PLplot is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public License
# along with the file PLplot; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA

SHELL = @SH_EXECUTABLE@
Fortran = @FC@
EXEEXT = @EXEEXT@

PKG_CONFIG_ENV = @PKG_CONFIG_ENV@
FORTRAN_RPATHCMD = @FORTRAN_RPATHCMD@

EXECUTABLES_list = \
		 x00f$(EXEEXT) \
		 x01f$(EXEEXT) \
		 x02f$(EXEEXT) \
		 x03f$(EXEEXT) \
		 x04f$(EXEEXT) \
		 x05f$(EXEEXT) \
		 x06f$(EXEEXT) \
		 x07f$(EXEEXT) \
		 x08f$(EXEEXT) \
		 x09f$(EXEEXT) \
		 x10f$(EXEEXT) \
		 x11f$(EXEEXT) \
		 x12f$(EXEEXT) \
		 x13f$(EXEEXT) \
		 x14f$(EXEEXT) \
		 x15f$(EXEEXT) \
		 x16f$(EXEEXT) \
		 x16af$(EXEEXT) \
		 x17f$(EXEEXT) \
		 x18f$(EXEEXT) \
		 x19f$(EXEEXT) \
		 x20f$(EXEEXT) \
		 x21f$(EXEEXT) \
		 x22f$(EXEEXT) \
		 x23f$(EXEEXT) \
		 x24f$(EXEEXT) \
		 x25f$(EXEEXT) \
		 x26f$(EXEEXT) \
		 x27f$(EXEEXT) \
		 x28f$(EXEEXT) \
		 x29f$(EXEEXT) \
		 x30f$(EXEEXT) \
		 x31f$(EXEEXT) \
		 x33f$(EXEEXT)


all: $(EXECUTABLES_list)

clean:
	rm -f $(EXECUTABLES_list)

# target_link_libraries(x${STRING_INDEX}fortran plfortrandemolib plplotfortran
# plplotfortranc) Note, the corresponding *.pc file lists both plplotfortran
# and plplotfortranc as PUBLIC libraries.  Note, some Fortran compilers
# (e.g., nagfor) by default do not look for included files (e.g.,
# plfortrandemos.inc included by x21f.f90) in the location of the source
# file when the build is occurring in a different directory so must
# specify an extra -I option for that.
.f90$(EXEEXT):
	$(Fortran) @MODULESINCCMD@ $< -o $@ $(FORTRAN_RPATHCMD) $(shell $(PKG_CONFIG_ENV) pkg-config @PC_STATIC_OPTION@ --cflags --libs plplot-fortran) -lplfortrandemolib -I"@DATA_DIR@"/examples/fortran

.SUFFIXES: .f90 $(EXEEXT)