1 |
# ASCEND Solver Makefile |
2 |
# Ben Allan |
3 |
# January 4, 1994 |
4 |
|
5 |
|
6 |
SHELL = /bin/sh |
7 |
builddir = .. |
8 |
srcdir = @fullpathsrcdir@/../generic/solver |
9 |
VPATH := @fullpathsrcdir@/../generic/solver |
10 |
|
11 |
|
12 |
|
13 |
# The next variables are the primary executables and/or libraries that |
14 |
# this makefile is responsible for, and the default target of this |
15 |
# makefile. |
16 |
|
17 |
EXECUTABLE = |
18 |
|
19 |
LIBRARY = libascsolver.a |
20 |
|
21 |
|
22 |
default: $(LIBRARY) |
23 |
|
24 |
|
25 |
|
26 |
# Defines and Includes that are specific to this directory |
27 |
|
28 |
DIR_SPECIFIC_DEFS = $(SOLVER_DEFS) |
29 |
DIR_SPECIFIC_INCS = |
30 |
|
31 |
|
32 |
|
33 |
# The next variables list the source files (EXEC_SCRS) to compile |
34 |
# into the object files (EXEC_OBJS) that are linked with the |
35 |
# library files (EXEC_LIBS) to make EXECUTABLE |
36 |
|
37 |
EXEC_SRCS = |
38 |
|
39 |
EXEC_OBJS = |
40 |
|
41 |
EXEC_LIBS = |
42 |
|
43 |
# The next variables list the source files (LIB_SCRS) to compile |
44 |
# into the object files (LIB_OBJS) that are combined to make LIBRARY |
45 |
|
46 |
LIB_OBJS = \ |
47 |
analyze.o bnd.o bndman.o calc.o cond_config.o \ |
48 |
conditional.o conopt.o discrete.o incidence.o linsol.o \ |
49 |
linsolqr.o linutils.o logrel.o logrelman.o model_reorder.o \ |
50 |
mps.o mtx_basic.o mtx_linal.o mtx_perms.o mtx_query.o \ |
51 |
mtx_reorder.o mtx_use_only.o rel.o relman.o \ |
52 |
slv.o slv0.o slv1.o slv2.o slv3.o slv6.o slv7.o \ |
53 |
slv8.o slv9.o slv9a.o slvDOF.o slv_common.o \ |
54 |
slv_interface.o slv_stdcalls.o system.o var.o \ |
55 |
integrator.c lsode.c samplelist.c |
56 |
|
57 |
LIB_SRCS = $(LIB_OBJS:%.c=%.o) |
58 |
|
59 |
# The global makefile macros (ConfigAscend) and global rules (Makefile.Rules) |
60 |
# |
61 |
include $(builddir)/ConfigAscend |
62 |
include $(builddir)/Makefile.Rules |
63 |
|
64 |
|
65 |
|
66 |
# debugging for mtx (typically defined in mtx.c) |
67 |
# |
68 |
#MTX_DEBUG = |
69 |
# |
70 |
# debugging for minos (typically defined in slv1.c) |
71 |
# |
72 |
#MINOS_DEBUG = |
73 |
|
74 |
|
75 |
|
76 |
# DO NOT DELETE THIS LINE -- g++dep uses it. |
77 |
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. |
78 |
|
79 |
|
80 |
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY |