# make njoy for sun at 32 bits OPTS= -g -O OBJS= njoy.o reconr.o broadr.o unresr.o heatr.o thermr.o \ groupr.o gaminr.o errorr.o covr.o moder.o dtfr.o ccccr.o matxsr.o \ resxsr.o acer.o powr.o wimsr.o plotr.o viewr.o mixr.o purr.o leapr.o xnjoy: ${OBJS} f77 ${OPTS} -o $@ ${OBJS} njoy: upn cp upn upnn sed -e '1,2s%module%njoy%' upnn > upn upd cp cpl njoy.f cp lst njoy.lst rm upn cpl lst mv upnn upn njoy.o: njoy.f f77 ${OPTS} -c njoy.f reconr: upn cp upn upnn sed -e '1,2s%module%reconr%' upnn > upn upd cp cpl reconr.f cp lst reconr.lst rm upn cpl lst mv upnn upn reconr.o: reconr.f f77 ${OPTS} -c reconr.f broadr: upn cp upn upnn sed -e '1,2s%module%broadr%' upnn > upn upd cp cpl broadr.f cp lst broadr.lst rm upn cpl lst mv upnn upn broadr.o: broadr.f f77 ${OPTS} -c broadr.f unresr: upn cp upn upnn sed -e '1,2s%module%unresr%' upnn > upn upd cp cpl unresr.f cp lst unresr.lst rm upn cpl lst mv upnn upn unresr.o: unresr.f f77 ${OPTS} -c unresr.f heatr: upn cp upn upnn sed -e '1,2s%module%heatr%' upnn > upn upd cp cpl heatr.f cp lst heatr.lst rm upn cpl lst mv upnn upn heatr.o: heatr.f f77 ${OPTS} -c heatr.f thermr: upn cp upn upnn sed -e '1,2s%module%thermr%' upnn > upn upd cp cpl thermr.f cp lst thermr.lst rm upn cpl lst mv upnn upn thermr.o: thermr.f f77 ${OPTS} -c thermr.f groupr: upn cp upn upnn sed -e '1,2s%module%groupr%' upnn > upn upd cp cpl groupr.f cp lst groupr.lst rm upn cpl lst mv upnn upn groupr.o: groupr.f f77 ${OPTS} -c groupr.f gaminr: upn cp upn upnn sed -e '1,2s%module%gaminr%' upnn > upn upd cp cpl gaminr.f cp lst gaminr.lst rm upn cpl lst mv upnn upn gaminr.o: gaminr.f f77 ${OPTS} -c gaminr.f errorr: upn cp upn upnn sed -e '1,2s%module%errorr%' upnn > upn upd cp cpl errorr.f cp lst errorr.lst rm upn cpl lst mv upnn upn errorr.o: errorr.f f77 ${OPTS} -c errorr.f covr: upn cp upn upnn sed -e '1,2s%module%covr%' upnn > upn upd cp cpl covr.f cp lst covr.lst rm upn cpl lst mv upnn upn covr.o: covr.f f77 ${OPTS} -c covr.f moder: upn cp upn upnn sed -e '1,2s%module%moder%' upnn > upn upd cp cpl moder.f cp lst moder.lst rm upn cpl lst mv upnn upn moder.o: moder.f f77 ${OPTS} -c moder.f dtfr: upn cp upn upnn sed -e '1,2s%module%dtfr%' upnn > upn upd cp cpl dtfr.f cp lst dtfr.lst rm upn cpl lst mv upnn upn dtfr.o: dtfr.f f77 ${OPTS} -c dtfr.f ccccr: upn cp upn upnn sed -e '1,2s%module%ccccr%' upnn > upn upd cp cpl ccccr.f cp lst ccccr.lst rm upn cpl lst mv upnn upn ccccr.o: ccccr.f f77 ${OPTS} -c ccccr.f matxsr: upn cp upn upnn sed -e '1,2s%module%matxsr%' upnn > upn upd cp cpl matxsr.f cp lst matxsr.lst rm upn cpl lst mv upnn upn matxsr.o: matxsr.f f77 ${OPTS} -c matxsr.f resxsr: upn cp upn upnn sed -e '1,2s%module%resxsr%' upnn > upn upd cp cpl resxsr.f cp lst resxsr.lst rm upn cpl lst mv upnn upn resxsr.o: resxsr.f f77 ${OPTS} -c resxsr.f acer: upn cp upn upnn sed -e '1,2s%module%acer%' upnn > upn upd cp cpl acer.f cp lst acer.lst rm upn cpl lst mv upnn upn acer.o: acer.f f77 ${OPTS} -c acer.f powr: upn cp upn upnn sed -e '1,2s%module%powr%' upnn > upn upd cp cpl powr.f cp lst powr.lst rm upn cpl lst mv upnn upn powr.o: powr.f f77 ${OPTS} -c powr.f wimsr: upn cp upn upnn sed -e '1,2s%module%wimsr%' upnn > upn upd cp cpl wimsr.f cp lst wimsr.lst rm upn cpl lst mv upnn upn wimsr.o: wimsr.f f77 ${OPTS} -c wimsr.f plotr: upn cp upn upnn sed -e '1,2s%module%plotr%' upnn > upn upd cp cpl plotr.f cp lst plotr.lst rm upn cpl lst mv upnn upn plotr.o: plotr.f f77 ${OPTS} -c plotr.f viewr: upn cp upn upnn sed -e '1,2s%module%viewr%' upnn > upn upd cp cpl viewr.f cp lst viewr.lst rm upn cpl lst mv upnn upn viewr.o: viewr.f f77 ${OPTS} -c viewr.f mixr: upn cp upn upnn sed -e '1,2s%module%mixr%' upnn > upn upd cp cpl mixr.f cp lst mixr.lst rm upn cpl lst mv upnn upn mixr.o: mixr.f f77 ${OPTS} -c mixr.f purr: upn cp upn upnn sed -e '1,2s%module%purr%' upnn > upn upd cp cpl purr.f cp lst purr.lst rm upn cpl lst mv upnn upn purr.o: purr.f f77 ${OPTS} -c purr.f leapr: upn cp upn upnn sed -e '1,2s%module%leapr%' upnn > upn upd cp cpl leapr.f cp lst leapr.lst rm upn cpl lst mv upnn upn leapr.o: leapr.f f77 ${OPTS} -c leapr.f