forked from SLICOT/SLICOT-Reference
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmakefile_Unix
58 lines (51 loc) · 1.96 KB
/
makefile_Unix
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 )