lemon-project-template-glpk

diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/deps/glpk/Makefile_MMIX	Sun Nov 06 20:59:10 2011 +0100
     1.3 @@ -0,0 +1,169 @@
     1.4 +# Build GLPK for MMIX with GCC cross-compiler
     1.5 +
     1.6 +#**********************************************************************#
     1.7 +# You can use this Makefile to build GLPK with GCC cross-compiler for  #
     1.8 +# MMIX. No configuring is needed.                                      #
     1.9 +#                                                                      #
    1.10 +# MMIX is a 64-bit RISC computer for the third millennium designed by  #
    1.11 +# Prof. Donald Knuth. For details see:                                 #
    1.12 +#                                                                      #
    1.13 +# http://www-cs-faculty.stanford.edu/~knuth/mmix.html                  #
    1.14 +# http://en.wikipedia.org/wiki/MMIX                                    #
    1.15 +# http://www.malgil.com/mmix                                           #
    1.16 +#                                                                      #
    1.17 +# The GNU MMIX compiler tool-suite (GCC backend, binutils, and newlib) #
    1.18 +# was developed by Hans-Peter Nilsson. You may follow his instructions #
    1.19 +# to build and install the MMIX tools; see:                            #
    1.20 +#                                                                      #
    1.21 +# http://bitrange.com/mmix/install.html                                #
    1.22 +#**********************************************************************#
    1.23 +
    1.24 +GCC = mmix-gcc
    1.25 +AR = mmix-ar
    1.26 +MMIX = mmix
    1.27 +CFLAGS = -O2
    1.28 +
    1.29 +OBJSET = \
    1.30 +src/glpapi01.o \
    1.31 +src/glpapi02.o \
    1.32 +src/glpapi03.o \
    1.33 +src/glpapi04.o \
    1.34 +src/glpapi05.o \
    1.35 +src/glpapi06.o \
    1.36 +src/glpapi07.o \
    1.37 +src/glpapi08.o \
    1.38 +src/glpapi09.o \
    1.39 +src/glpapi10.o \
    1.40 +src/glpapi11.o \
    1.41 +src/glpapi12.o \
    1.42 +src/glpapi13.o \
    1.43 +src/glpapi14.o \
    1.44 +src/glpapi15.o \
    1.45 +src/glpapi16.o \
    1.46 +src/glpapi17.o \
    1.47 +src/glpapi18.o \
    1.48 +src/glpapi19.o \
    1.49 +src/glpapi20.o \
    1.50 +src/glpapi21.o \
    1.51 +src/glpavl.o \
    1.52 +src/glpbfd.o \
    1.53 +src/glpbfx.o \
    1.54 +src/glpcpx.o \
    1.55 +src/glpdmp.o \
    1.56 +src/glpdmx.o \
    1.57 +src/glpenv01.o \
    1.58 +src/glpenv02.o \
    1.59 +src/glpenv03.o \
    1.60 +src/glpenv04.o \
    1.61 +src/glpenv05.o \
    1.62 +src/glpenv06.o \
    1.63 +src/glpenv07.o \
    1.64 +src/glpenv08.o \
    1.65 +src/glpfhv.o \
    1.66 +src/glpgmp.o \
    1.67 +src/glphbm.o \
    1.68 +src/glpini01.o \
    1.69 +src/glpini02.o \
    1.70 +src/glpios01.o \
    1.71 +src/glpios02.o \
    1.72 +src/glpios03.o \
    1.73 +src/glpios04.o \
    1.74 +src/glpios05.o \
    1.75 +src/glpios06.o \
    1.76 +src/glpios07.o \
    1.77 +src/glpios08.o \
    1.78 +src/glpios09.o \
    1.79 +src/glpios10.o \
    1.80 +src/glpios11.o \
    1.81 +src/glpios12.o \
    1.82 +src/glpipm.o \
    1.83 +src/glplib01.o \
    1.84 +src/glplib02.o \
    1.85 +src/glplib03.o \
    1.86 +src/glplpf.o \
    1.87 +src/glplpx01.o \
    1.88 +src/glplpx02.o \
    1.89 +src/glplpx03.o \
    1.90 +src/glpluf.o \
    1.91 +src/glplux.o \
    1.92 +src/glpmat.o \
    1.93 +src/glpmpl01.o \
    1.94 +src/glpmpl02.o \
    1.95 +src/glpmpl03.o \
    1.96 +src/glpmpl04.o \
    1.97 +src/glpmpl05.o \
    1.98 +src/glpmpl06.o \
    1.99 +src/glpmps.o \
   1.100 +src/glpnet01.o \
   1.101 +src/glpnet02.o \
   1.102 +src/glpnet03.o \
   1.103 +src/glpnet04.o \
   1.104 +src/glpnet05.o \
   1.105 +src/glpnet06.o \
   1.106 +src/glpnet07.o \
   1.107 +src/glpnet08.o \
   1.108 +src/glpnet09.o \
   1.109 +src/glpnpp01.o \
   1.110 +src/glpnpp02.o \
   1.111 +src/glpnpp03.o \
   1.112 +src/glpnpp04.o \
   1.113 +src/glpnpp05.o \
   1.114 +src/glpnpp06.o \
   1.115 +src/glpqmd.o \
   1.116 +src/glprgr.o \
   1.117 +src/glprng01.o \
   1.118 +src/glprng02.o \
   1.119 +src/glpscf.o \
   1.120 +src/glpscl.o \
   1.121 +src/glpsdf.o \
   1.122 +src/glpspm.o \
   1.123 +src/glpspx01.o \
   1.124 +src/glpspx02.o \
   1.125 +src/glpsql.o \
   1.126 +src/glpssx01.o \
   1.127 +src/glpssx02.o \
   1.128 +src/glptsp.o \
   1.129 +src/amd/amd_1.o \
   1.130 +src/amd/amd_2.o \
   1.131 +src/amd/amd_aat.o \
   1.132 +src/amd/amd_control.o \
   1.133 +src/amd/amd_defaults.o \
   1.134 +src/amd/amd_dump.o \
   1.135 +src/amd/amd_info.o \
   1.136 +src/amd/amd_order.o \
   1.137 +src/amd/amd_post_tree.o \
   1.138 +src/amd/amd_postorder.o \
   1.139 +src/amd/amd_preprocess.o \
   1.140 +src/amd/amd_valid.o \
   1.141 +src/colamd/colamd.o \
   1.142 +src/minisat/minisat.o \
   1.143 +src/zlib/adler32.o \
   1.144 +src/zlib/compress.o \
   1.145 +src/zlib/crc32.o \
   1.146 +src/zlib/deflate.o \
   1.147 +src/zlib/gzclose.o \
   1.148 +src/zlib/gzlib.o \
   1.149 +src/zlib/gzread.o \
   1.150 +src/zlib/gzwrite.o \
   1.151 +src/zlib/infback.o \
   1.152 +src/zlib/inffast.o \
   1.153 +src/zlib/inflate.o \
   1.154 +src/zlib/inftrees.o \
   1.155 +src/zlib/trees.o \
   1.156 +src/zlib/uncompr.o \
   1.157 +src/zlib/zio.o \
   1.158 +src/zlib/zutil.o
   1.159 +
   1.160 +.c.o:
   1.161 +	$(GCC) $(CFLAGS) -Isrc -o $@ -c $<
   1.162 +
   1.163 +all: libglpk.a glpsol.mmo
   1.164 +
   1.165 +libglpk.a: $(OBJSET)
   1.166 +	$(AR) cru libglpk.a $(OBJSET)
   1.167 +
   1.168 +glpsol.mmo: examples/glpsol.o libglpk.a
   1.169 +	$(GCC) $(CFLAGS) -o glpsol.mmo examples/glpsol.o libglpk.a -lm
   1.170 +
   1.171 +check: glpsol.mmo
   1.172 +	$(MMIX) glpsol.mmo --mps examples/plan.mps