lemon-project-template-glpk

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