makefileの修正


 修正点は以下の3か所です。修正点その1とその2の半分はssgftoeps.cというsource(SGFフォーマットの画像データをEPS形式の画像データに変換するコマンド)がcompileできないので、それはもうあきらめてしまう、という英断(?)に伴うものです。その2ではcompileしたコマンドの置き場所を/usr/local/sac/utilsの下ではなく/usr/local/sac/binの下にする、という修正も行っています。もちろん置き場所は好きずきなのですが、/usr/local/sac/utilsに新たにpathを通すのもうっとおしいなと思い、/usr/local/sac/binの下に置くことにしたわけです。

<修正点その1:修正前>
      ・
      ・
#all: ../bin/convcss ../bin/sgflist ../bin/sgfmerge ../bin/sgfplot ../bin/sgftohipen ../bin/sgftops ../bin/sgftoquic ../bin/sgftotek ../bin/sgftoqms ../bin/float2image ../bin/sgftoeps ../bin/sgftomif ../bin/sgftoadobe
      ・
      ・
      ↓
<修正点その1:修正後>(../bin/sgftoepsを削除してしまう)
      ・
      ・
all: ../bin/convcss ../bin/sgflist ../bin/sgfmerge ../bin/sgfplot ../bin/sgftohipen ../bin/sgftops ../bin/sgftoquic ../bin/sgftotek ../bin/sgftoqms ../bin/float2image ../bin/sgftomif ../bin/sgftoadobe
      ・
      ・



<修正点その2:修正前>
      ・
      ・
../bin/sgftops: sgftops.c
cc $(CFLAGS) -o sgftops sgftops.c
../bin/sgftoeps: sgftoeps.c
cc $(CFLAGS) -o sgftoeps sgftoeps.c -lpixrect
../bin/sgftoadobe: sgftoadobe.c
cc $(CFLAGS) -o sgftoadobe sgftoadobe.c -lm
../bin/sgftomif: sgftomif.c
cc $(CFLAGS) -o sgftomif sgftomif.c
      ・
      ・
      ↓
<修正点その2:修正後>
      ・
      ・
../bin/sgftops: sgftops.c
cc $(CFLAGS) -o ../bin/sgftops sgftops.c  ← ここ!
#../bin/sgftoeps: sgftoeps.c  ← この行は殺してしまう
# cc $(CFLAGS) -o ../bin/sgftoeps sgftoeps.c -lpixrect  ← この行は殺してしまう
../bin/sgftoadobe: sgftoadobe.c
cc $(CFLAGS) -o ../bin/sgftoadobe sgftoadobe.c -lm  ← ここ!
../bin/sgftomif: sgftomif.c
cc $(CFLAGS) -o ../bin/sgftomif sgftomif.c  ← ここ!
      ・
      ・



<修正点その3>全てのf77をfort77に変更。g77があるならg77でもよい。


SAC10.6fのLinuxマシンへのインストールへ戻る