# This Makefile successfully builds iscbul under Solaris 7 # using Sun's fortran compiler, f77. It depends on the # the standard implicit rules, which are normally given in # /usr/share/lib/make/make.rules. # Append to the compilation flags to allow extended line lengths FFLAGS += -e # Define a collection of objects as compiled versions # of all Fortran source files objs = iscbul.o abort.o allin.o append.o caryon.o cdigit.o \ cfill.o chival.o chival0.o choose.o chrval.o chrxf4.o \ chrxi.o chvxi.o coord.o cosset.o dirnam.o dofile.o events.o evread.o \ evshow.o exchange.o explain.o exptim.o fegnam.o getdat.o makei4.o\ getgrp.o getrot.o gettim.o getval.o itch.o itchk.o jmatch.o \ leapyear.o len_trim.o limons.o linbrk.o logit.o makeup.o \ moday.o monfil.o moveon.o nextmo.o opened.o putout.o \ readin.o rech.o reshow.o secnds.o setfis.o setnam.o setup.o \ shelp.o shiftup.o showea.o showec.o shower.o showmg.o \ showph.o timset.o timsub.o wait.o warn.o words.o write.o \ recs.o recs1.o recs11.o recs16.o recs2.o recs21.o recs3.o \ recs4.o recs6.o recs63.o recs7.o recs72.o recs8.o recs84.o \ recs86.o recs14.o # Apart from standard Fortran library functions, the binary # depends only on the collection of objects defined above. # Use the Fortran linker macro defined in standard implicit rules. iscbul: $(objs) $(LINK.f) -o $@ $(objs) # Define dependencies for objects that depend on include files # in addition to the Fortran source file. (Rely on standard # implicit suffix rules for all other objects.) iscbul.o: $< basics.inc hold.inc allin.o: $< basics.inc choose.o: $< basics.inc hold.inc dofile.o: $< basics.inc events.o: $< basics.inc hold.inc evread.o: $< basics.inc hold.inc evshow.o: $< basics.inc hold.inc explain.o: $< basics.inc getgrp.o: $< basics.inc hold.inc getrot.o: $< basics.inc makeup.o: $< basics.inc moveon.o: $< basics.inc hold.inc readin.o: $< basics.inc setup.o: $< basics.inc showea.o: $< basics.inc hold.inc showec.o: $< basics.inc hold.inc shower.o: $< basics.inc hold.inc showph.o: $< basics.inc # Rely on standard implict rules for the compile command in # in all cases. (This is normally the $(COMPILE.f), which is # normally defined to use $(FFLAGS)).