# Where are the TOBE files living TOBE=../tobe # What C compiler to use # CC=gcc CC=cc # Uncomment the compiler you are using, comment out the other(s) FC=g95 # FC=lf95 # Lahey and G95 both use the same #define FLAGS=-DG95=1 -g #FLAGS=-DLF62=1 -g # Where are the Tcl libs TCLLIBS=-L/usr/local/lib -ltcl8.4 -ltk8.4 # Other required libraries LIBS=-L/usr/X11R6/lib -lX11 -lieee -lm -ldl -lz ftclz.a: ftcl_c.o ftcl_mod.o zvfs.o f2kcli.o ar r ftclz.a ftcl_c.o ftcl_mod.o zvfs.o f2kcli.o ftcl_c.o: ftcl_c.c ${CC} -c $(FLAGS) ftcl_c.c ftcl_mod.o: ftcl_mod.f90 $(FC) -c $(FLAGS) ftcl_mod.f90 zvfs.o: ../tobe/src/zvfs.c ${CC} ${CFLAGS} ${OPT} -o zvfs.o -c ../tobe/src/zvfs.c f2kcli.o: f2kcli.f90 ${FC} -c $(FLAGS) f2kcli.f90 clean: rm *.o calc lander *.tgz *.dll sysprs7 lsprst7 *.a