File: makefile

package info (click to toggle)
slicot 5.9.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,528 kB
  • sloc: fortran: 148,076; makefile: 964; sh: 57
file content (63 lines) | stat: -rw-r--r-- 1,886 bytes parent folder | download | duplicates (2)
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
####################################################################
#  SLICOT main makefile                                            #
#  Top Level Makefile for generating SLICOT Library object file,   #
#  the auxiliary library file, and linking and running the example #
#  programs.                                                       # 
#                                                                  #
#  SLICOT, Release 5.8                          .\slicot\makefile  #
#  Vasile Sima                                                     #
#  October 31, 1996                                                #
#  Revised Dec. 7, 1999; Jan. 2005, Dec. 2022, Feb. 2023.          #
####################################################################
#
#  This makefile creates/updates the SLICOT Library object file, the
#  auxiliary library, and compiles, links, and runs the example 
#  programs for the SLICOT Library on Windows platforms.
#  To perform all these actions, enter
#       nmake
#
#  To create/update the libraries, enter 
#       nmake lib
#
#  To compile, link, and run the example programs, enter 
#       nmake example
#
#  To remove the object files for SLICOT routines and auxiliary 
#  routines, enter
#       nmake cleanlib
#
#  To remove the files with the computed results (*.exa), enter
#       nmake cleanexample
#
#  To remove the object files for SLICOT routines and auxiliary 
#  routines, as well as the files with the computed results (*.exa),
#  enter
#       nmake clean
#
####################################################################

!include <make.inc>

all: lib example

clean: cleanlib cleanexample

lib:
	cd $(HOME)\src
	$(MAKE)
	cd $(HOME)\src_aux
	$(MAKE)

example:
	cd $(HOME)\examples
	$(MAKE)

cleanlib:
	cd $(HOME)\src
	$(MAKE) clean
	cd $(HOME)\src_aux
	$(MAKE) clean

cleanexample:
	cd $(HOME)\examples 
	$(MAKE) clean