File: makefile_Unix

package info (click to toggle)
slicot 5.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,072 kB
  • sloc: fortran: 146,882; makefile: 932
file content (58 lines) | stat: -rw-r--r-- 2,005 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
####################################################################
#  SLICOT main makefile for Unix-like machines                     #
#  Top Level Makefile for generating SLICOT Library object file,   #
#  the auxiliary library file, and linking and running the example #
#  programs.                                                       #
#                                                                  #
#  SLICOT, Release 5.9                          ./slicot/makefile  #
#  Vasile Sima                                                     #
#  October 31, 1996                                                #
#  Revised Dec. 7, 1999; Feb. 14, 2005, Dec. 28, 2022, Feb. 2023.  #
#          Feb. 2024.                                              #
####################################################################
#
#  This makefile creates/updates the SLICOT Library object file, the 
#  auxiliary library, and compiles, links, and runs the example 
#  programs for the SLICOT Library. To perform all these actions,
#  enter
#       make
#
#  To create/update the libraries, enter 
#       make lib
#
#  To compile, link, and run the example programs, enter 
#       make example
#
#  To remove the object files for SLICOT routines and auxiliary
#  routines, enter
#       make cleanlib
#
#  To remove the files with the computed results (*.exa), enter
#       make cleanexample
#
#  To remove the object files for SLICOT routines and auxiliary
#  routines, as well as the files with the computed results (*.exa),
#  enter
#       make clean
#
####################################################################

include make_Unix.inc

all: lib example

clean: cleanlib cleanexample

lib:
	( cd src; $(MAKE) -f makefile_Unix )
	( cd src_aux; $(MAKE) -f makefile_Unix )

example:
	( cd examples; $(MAKE) -f makefile_Unix )

cleanlib:
	( cd src; $(MAKE) -f makefile_Unix clean )
	( cd src_aux; $(MAKE) -f makefile_Unix clean )

cleanexample:
	( cd examples; $(MAKE) -f makefile_Unix clean )