# ************************************************************************ # * * # * Makefile for compiling and linking dif_eop_ext executable * # * * # ************************************************************************ SHELL = /bin/csh .SUFFIXES: .SUFFIXES: .f .c. .o .a MK5_ROOT = /progs/psolve_20190915 .c.o: $(MK5_C) -c -o $*.o $*.c .f.o: $(MK5_F95_OPT) -I /opt64/include -I $(MK5_ROOT)/include -c -o $*.o $*.f .f.d: $(MK5_F95) -c -o $*.o $*.f EXE_DIR = $(Ex) RES = dif_eop_ext OBJS = \ $(RES).o \ ${MK5_ROOT}/utils/get_apriori_eop/rd_iers_c04.o \ ${MK5_ROOT}/utils/get_apriori_eop/rd_finals.o \ $(MK5_ROOT)/utils/getpar/read_eob.o \ $(MK5_ROOT)/utils/getpar/write_eob.o \ $(MK5_ROOT)/utils/getpar/write_eops.o \ ${MK5_ROOT}/utils/getpar/get_utc_m_tai.o \ ${MK5_ROOT}/utils/getpar/read_ls_tab.o \ rd_igs_eop.o \ rd_gps_eop.o LIBS = \ -L/opt64/lib -lvtd -lners -lspc -lfitslib -lcfitsio \ $(SOLVE_LIB_PGPLOT) \ $(PETOOLS_LIB) \ -L/usr/X11R6/lib \ $(FFTW_LIB) -lX11 \ $(SOLVE_LIB_BLAS) \ $(SOLVE_EXTRA_LIB) bin: $(OBJS) $(MK5_LINK) -o $(EXE_DIR)/$(RES).e $(OBJS) $(LIBS) ; \ $(EXE_DIR)/$(RES).e clean: rm -f $(OBJS) $(EXE_DIR)/$(RES).e