lemon-project-template-glpk
comparison deps/glpk/Makefile_MMIX @ 9:33de93886c88
Import GLPK 4.47
author | Alpar Juttner <alpar@cs.elte.hu> |
---|---|
date | Sun, 06 Nov 2011 20:59:10 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:2448f0fde5d9 |
---|---|
1 # Build GLPK for MMIX with GCC cross-compiler | |
2 | |
3 #**********************************************************************# | |
4 # You can use this Makefile to build GLPK with GCC cross-compiler for # | |
5 # MMIX. No configuring is needed. # | |
6 # # | |
7 # MMIX is a 64-bit RISC computer for the third millennium designed by # | |
8 # Prof. Donald Knuth. For details see: # | |
9 # # | |
10 # http://www-cs-faculty.stanford.edu/~knuth/mmix.html # | |
11 # http://en.wikipedia.org/wiki/MMIX # | |
12 # http://www.malgil.com/mmix # | |
13 # # | |
14 # The GNU MMIX compiler tool-suite (GCC backend, binutils, and newlib) # | |
15 # was developed by Hans-Peter Nilsson. You may follow his instructions # | |
16 # to build and install the MMIX tools; see: # | |
17 # # | |
18 # http://bitrange.com/mmix/install.html # | |
19 #**********************************************************************# | |
20 | |
21 GCC = mmix-gcc | |
22 AR = mmix-ar | |
23 MMIX = mmix | |
24 CFLAGS = -O2 | |
25 | |
26 OBJSET = \ | |
27 src/glpapi01.o \ | |
28 src/glpapi02.o \ | |
29 src/glpapi03.o \ | |
30 src/glpapi04.o \ | |
31 src/glpapi05.o \ | |
32 src/glpapi06.o \ | |
33 src/glpapi07.o \ | |
34 src/glpapi08.o \ | |
35 src/glpapi09.o \ | |
36 src/glpapi10.o \ | |
37 src/glpapi11.o \ | |
38 src/glpapi12.o \ | |
39 src/glpapi13.o \ | |
40 src/glpapi14.o \ | |
41 src/glpapi15.o \ | |
42 src/glpapi16.o \ | |
43 src/glpapi17.o \ | |
44 src/glpapi18.o \ | |
45 src/glpapi19.o \ | |
46 src/glpapi20.o \ | |
47 src/glpapi21.o \ | |
48 src/glpavl.o \ | |
49 src/glpbfd.o \ | |
50 src/glpbfx.o \ | |
51 src/glpcpx.o \ | |
52 src/glpdmp.o \ | |
53 src/glpdmx.o \ | |
54 src/glpenv01.o \ | |
55 src/glpenv02.o \ | |
56 src/glpenv03.o \ | |
57 src/glpenv04.o \ | |
58 src/glpenv05.o \ | |
59 src/glpenv06.o \ | |
60 src/glpenv07.o \ | |
61 src/glpenv08.o \ | |
62 src/glpfhv.o \ | |
63 src/glpgmp.o \ | |
64 src/glphbm.o \ | |
65 src/glpini01.o \ | |
66 src/glpini02.o \ | |
67 src/glpios01.o \ | |
68 src/glpios02.o \ | |
69 src/glpios03.o \ | |
70 src/glpios04.o \ | |
71 src/glpios05.o \ | |
72 src/glpios06.o \ | |
73 src/glpios07.o \ | |
74 src/glpios08.o \ | |
75 src/glpios09.o \ | |
76 src/glpios10.o \ | |
77 src/glpios11.o \ | |
78 src/glpios12.o \ | |
79 src/glpipm.o \ | |
80 src/glplib01.o \ | |
81 src/glplib02.o \ | |
82 src/glplib03.o \ | |
83 src/glplpf.o \ | |
84 src/glplpx01.o \ | |
85 src/glplpx02.o \ | |
86 src/glplpx03.o \ | |
87 src/glpluf.o \ | |
88 src/glplux.o \ | |
89 src/glpmat.o \ | |
90 src/glpmpl01.o \ | |
91 src/glpmpl02.o \ | |
92 src/glpmpl03.o \ | |
93 src/glpmpl04.o \ | |
94 src/glpmpl05.o \ | |
95 src/glpmpl06.o \ | |
96 src/glpmps.o \ | |
97 src/glpnet01.o \ | |
98 src/glpnet02.o \ | |
99 src/glpnet03.o \ | |
100 src/glpnet04.o \ | |
101 src/glpnet05.o \ | |
102 src/glpnet06.o \ | |
103 src/glpnet07.o \ | |
104 src/glpnet08.o \ | |
105 src/glpnet09.o \ | |
106 src/glpnpp01.o \ | |
107 src/glpnpp02.o \ | |
108 src/glpnpp03.o \ | |
109 src/glpnpp04.o \ | |
110 src/glpnpp05.o \ | |
111 src/glpnpp06.o \ | |
112 src/glpqmd.o \ | |
113 src/glprgr.o \ | |
114 src/glprng01.o \ | |
115 src/glprng02.o \ | |
116 src/glpscf.o \ | |
117 src/glpscl.o \ | |
118 src/glpsdf.o \ | |
119 src/glpspm.o \ | |
120 src/glpspx01.o \ | |
121 src/glpspx02.o \ | |
122 src/glpsql.o \ | |
123 src/glpssx01.o \ | |
124 src/glpssx02.o \ | |
125 src/glptsp.o \ | |
126 src/amd/amd_1.o \ | |
127 src/amd/amd_2.o \ | |
128 src/amd/amd_aat.o \ | |
129 src/amd/amd_control.o \ | |
130 src/amd/amd_defaults.o \ | |
131 src/amd/amd_dump.o \ | |
132 src/amd/amd_info.o \ | |
133 src/amd/amd_order.o \ | |
134 src/amd/amd_post_tree.o \ | |
135 src/amd/amd_postorder.o \ | |
136 src/amd/amd_preprocess.o \ | |
137 src/amd/amd_valid.o \ | |
138 src/colamd/colamd.o \ | |
139 src/minisat/minisat.o \ | |
140 src/zlib/adler32.o \ | |
141 src/zlib/compress.o \ | |
142 src/zlib/crc32.o \ | |
143 src/zlib/deflate.o \ | |
144 src/zlib/gzclose.o \ | |
145 src/zlib/gzlib.o \ | |
146 src/zlib/gzread.o \ | |
147 src/zlib/gzwrite.o \ | |
148 src/zlib/infback.o \ | |
149 src/zlib/inffast.o \ | |
150 src/zlib/inflate.o \ | |
151 src/zlib/inftrees.o \ | |
152 src/zlib/trees.o \ | |
153 src/zlib/uncompr.o \ | |
154 src/zlib/zio.o \ | |
155 src/zlib/zutil.o | |
156 | |
157 .c.o: | |
158 $(GCC) $(CFLAGS) -Isrc -o $@ -c $< | |
159 | |
160 all: libglpk.a glpsol.mmo | |
161 | |
162 libglpk.a: $(OBJSET) | |
163 $(AR) cru libglpk.a $(OBJSET) | |
164 | |
165 glpsol.mmo: examples/glpsol.o libglpk.a | |
166 $(GCC) $(CFLAGS) -o glpsol.mmo examples/glpsol.o libglpk.a -lm | |
167 | |
168 check: glpsol.mmo | |
169 $(MMIX) glpsol.mmo --mps examples/plan.mps |